OK, thank you things are beginning to be clearer to me.
Here is where I am at
G5:
has its internet production interface as originally configured - all working
PLUS I have manually upped the eth1 with the private address space.
Code:
root@jupiter [~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:22:64:9B:D7:98
inet addr:xxx.yyy.zzz.50 Bcast:xxx.yyy.zz.55 Mask:255.255.255.248
inet6 addr: fe80::222:64ff:fe9b:d798/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3471398 errors:0 dropped:0 overruns:0 frame:0
TX packets:4274612 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:695683338 (663.4 MiB) TX bytes:167763704 (159.9 MiB)
Interrupt:185 Memory:f8000000-f8012800
eth0:1 Link encap:Ethernet HWaddr 00:22:64:9B:D7:98
inet addr:xxx.yyy.nn.117 Bcast:xxx.yyy.nn.119 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:185 Memory:f8000000-f8012800
eth1 Link encap:Ethernet HWaddr 00:22:64:9B:D7:AA
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::222:64ff:fe9b:d7aa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4184 (4.0 KiB) TX bytes:1462 (1.4 KiB)
Interrupt:82 Memory:fa000000-fa012800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:39717664 errors:0 dropped:0 overruns:0 frame:0
TX packets:39717664 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3075190905 (2.8 GiB) TX bytes:3075190905 (2.8 GiB)
You can see the two production interfaces eth0 and eth0:1
I can confirm that there is a network route for the private network bound to eth1 created as part of upping the interface.
I can also confirm that the media is linked up...
Code:
root@jupiter [~]# mii-tool
eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok
root@jupiter [~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.yyy.nn.117 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
xxx.yyy.nn.112 0.0.0.0 255.255.255.248 U 0 0 0 eth0
xxx.yyy.zz.48 0.0.0.0 255.255.255.248 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 xxx.yyy.zz.49 0.0.0.0 UG 0 0 0 eth0
root@jupiter [~]#
Now on G4 I have a very similar setup (the physical adapters I am using are switched and the public one only needed for ssh though)
Code:
helios stardotstar # ifconfig
eth0 Link encap:Ethernet HWaddr 00:12:79:90:b0:16
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::212:79ff:fe90:b016/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:47282 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3491610 (3.3 MiB) TX bytes:932 (932.0 B)
Interrupt:25
eth1 Link encap:Ethernet HWaddr 00:12:79:90:b0:15
inet addr:xxx.yyy.nn.116 Bcast:xxx.yyy.nn.119 Mask:255.255.255.248
inet6 addr: fe80::212:79ff:fe90:b015/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:79683 errors:0 dropped:0 overruns:0 frame:0
TX packets:19119 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28206482 (26.8 MiB) TX bytes:5809673 (5.5 MiB)
Interrupt:26
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:46660 errors:0 dropped:0 overruns:0 frame:0
TX packets:46660 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3572767 (3.4 MiB) TX bytes:3572767 (3.4 MiB)
and the link and routing looks fine:
Code:
helios stardotstar # mii-tool
eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok
helios stardotstar # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.yyy.nn.112 0.0.0.0 255.255.255.248 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 xxx.yyy.nn.113 0.0.0.0 UG 1 0 0 eth1
Following the understanding that a specific route shoudn't be necessary for packets for the 192.168.0.0 network to find their way onto the right physical adapter and thus the connected media and physical layer I expected that from each box I would be able to ping the other's private IP...
But as you can see here on each system the only ping that returns is the one to the local ip bound to the host's adapter...
G5
Code:
root@jupiter [~]# ping 192.168.0.102
PING 192.168.0.102 (192.168.0.102) 56(84) bytes of data.
64 bytes from 192.168.0.102: icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from 192.168.0.102: icmp_seq=2 ttl=64 time=0.018 ms
64 bytes from 192.168.0.102: icmp_seq=3 ttl=64 time=0.028 ms
--- 192.168.0.102 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.018/0.026/0.034/0.008 ms
root@jupiter [~]# ping 192.168.0.101
PING 192.168.0.101 (192.168.0.101) 56(84) bytes of data.
--- 192.168.0.101 ping statistics ---
28 packets transmitted, 0 received, 100% packet loss, time 27000ms
root@jupiter [~]#
and same holds for the G4
Code:
helios stardotstar # ping 192.168.0.101
PING 192.168.0.101 (192.168.0.101) 56(84) bytes of data.
64 bytes from 192.168.0.101: icmp_seq=1 ttl=64 time=0.052 ms
64 bytes from 192.168.0.101: icmp_seq=2 ttl=64 time=0.028 ms
64 bytes from 192.168.0.101: icmp_seq=3 ttl=64 time=0.022 ms
64 bytes from 192.168.0.101: icmp_seq=4 ttl=64 time=0.024 ms
^C
--- 192.168.0.101 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.022/0.031/0.052/0.013 ms
helios stardotstar # ping 192.168.0.102
PING 192.168.0.102 (192.168.0.102) 56(84) bytes of data.
^C
--- 192.168.0.102 ping statistics ---
13 packets transmitted, 0 received, 100% packet loss, time 12017ms
I guess I am now thinking that there may be something else wrong? Because as you say if there is not a need to define even a static route (ie I'm trying to reach two host addresses on the very same network 192.168.0.101 and 192.168.0.102 - not on another like you say 192.168.1.x)
Perhaps there is something else wrong.
What I can say beyond all this is that I can ping the public IPs from the boxes and ssh between them and so forth. But I am guessing that is all going outside the vlan due to the vlan routing table setup by the CoLo...
I have attached a pic to ensure that my desired config is beyond doubt.
\\'
[edit] I just got a sense of the problem from a static route point of view from what you said here:
Quote:
not accessible via the default gateway, you need to add a static route.
|
THe private space is
not accessible by my default route and therefore even though the network is attached to the server in both cases the packets are likely being routed out via the default route (public network) and lost...
So I need to add the correct static route to the table so that all packets for 192.168.0.0 go to the appropriate ethX...