The default gateway is a way of telling the system how to send packets for networks that are not known about. The 10. and 192. networks are both known about (on this server) and should therefore simply get the packets sent to the right network card. By setting the default gateway on this machine to 192.x.x.1 you are telling the machine that the packets for any unknown network should be forwarded to this IP. Is this what you want? Is the 192.x.x.1 really a gateway device (router or another box setup as a router?) to which all packets for unknown networks should be sent? Is this setting on the server or on the client machines? The client machines on the 10.x.x.x network should use a 10.x.x.x IP as the gateway, not the 192.x.x.x unless they also have a properly defined route to the 192 network as well. Damon -----Original Message----- From: Preston Crawford [mailto:me@prestoncrawford.com] Sent: 07 April 2004 07:00 To: suse-linux-e@suse.com Subject: [SLE] Two network cards (dual-homed), two gateways? Desparate for help I'm having a bit of a problem. I'm managing a Linux server running SuSE 8.2. The server is dual-homed so it sits on two networks. In the network devices application in Yast in the "routing" section you have the option of either choosing a single default gateway or using "expert configuration" to setup routing. Now we need to have each network card use a different gateway. Here is the way it's currently working. We have one network (192.....) that we need to have running SSH and samba. We have another network (10......) that we need to have samba access. This works out great except one hitch. If I just put in 192.X.X.1 as the default gateway, the 10.... network can't get to the share. I think the reason being that upon return the traffic tries to go by way of the default gateway (192.x) and can't find it's way back to the 192 network. If I flip it and make the default gateway 10.X.X.1 the 10.... network can get to the share, but SSH has a problem because it tries to return via that gateway. So it's a mess and I know there *has* to be a way to get this to work. I just need to know how. Somewhere in the "expert" part of the "routing" section, there has to be settings I can put in to basically allow all traffic bound for the 192 card (eth0 in this case) return via the 192 gateway. And all traffic bound for the 10 card (eth1 in this case) return via the 10 gateway. I just don't know how to set this up. Any advice would be GREATLY appreciated. Preston -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com