Hi All,

(Sorry, long post)

Got a server (Jaunty server amd64) with 4 NICs. I've bonded them in 2 pairs

bond0 (192.168.10.200) connects to 192.168.10.0/24
bond1 (10.10.20.200) connects to 10.10.20.0/24

both have a static IP and their own gateway is defined
The bonding works fine AFAIK, I tested it by pinging -from the server- while unplugging cables from the switches.


bond0 connects (via a switch) to a green port on a IPcop (1.4.21)
bond1 (via a switch) to the orange port of the same IPcop PC

If both interfaces are up I can ssh from any PC on green to 192.168.10.200 but not to 10.10.20.200
(That's fine with me but maybe an indication for the other troubles I have)

If I take bond0 down I can ssh from green to 10.10.20.200
(AFAIK sshd is not restricted to listen on a particular interface/vlan - ubuntu default config)


Now... on the server itself:

I can ping the gateways
ping -I bond0 192.168.10.1
ping -I bond1 192.168.10.1 (Doesn't go as expected - blocked by IPcop)
ping -I bond0 10.10.20.1
ping -I bond1 10.10.20.1


Troubles:
links http://www.google.ca
gives an error generated by the IPcop: The requested URL could not be retrieved
(Yep, I use links - its a console only server ...)

If I take either bond0 or bond1 down I can surf ...


Do I miss something? My gutt feeling tells me that it has to do with gateways or so where the request goes out but the answer back does not come in the right port...
But do I change something on the Jaunty server or is it IPcop?

Ultimately I want to run 4-5 virtual servers, some 'internal' 192.168.10... some 'external; 10.10.20....
I don't wanna dive into kvm before I got this network part ironed out.

Am I asking to much? Bonding + different VLANs on the same server...

Not sure... can somebody push me in the right direction?


More info

route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.20.0 0.0.0.0 255.255.255.0 U 0 0 0 bond1 192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0 0.0.0.0 10.10.20.1 0.0.0.0 UG 100 0 0 bond1 0.0.0.0 192.168.10.1 0.0.0.0 UG 100 0 0 bond0


cat /etc/network/interfaces

auto bond0
iface bond0 inet static
 address 192.168.10.200
 network 192.168.10.0
 netmask 255.255.255.0
 gateway 192.168.10.1
 dns-nameservers 192.168.10.1
 post-up ifenslave bond0 eth0 eth2
 pre-down ifenslave -d bond0 eth0 eth2

auto bond1
iface bond1 inet static
 address 10.10.20.200
 network 10.10.20.0
 netmask 255.255.255.0
 gateway 10.10.20.1
 post-up ifenslave bond1 eth1 eth3
 pre-down ifenslave -d bond1 eth1 eth3


ifconfig -a
bond0 Link encap:Ethernet HWaddr 00:22:19:4f:ad:2e inet addr:192.168.10.200 Bcast:192.168.10.255 Mask:255.255.255.0
         inet6 addr: fe80::222:19ff:fe4f:ad2e/64 Scope:Link

bond1     Link encap:Ethernet  HWaddr 00:22:19:4f:ad:30
         inet addr:10.10.20.200  Bcast:10.10.20.255  Mask:255.255.255.0
         inet6 addr: fe80::222:19ff:fe4f:ad30/64 Scope:Link



Thanks

Peter

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to