On Wed, 2004-04-07 at 09:42, Preston Crawford wrote:
On Wed, 2004-04-07 at 04:11, Damon Jebb wrote:
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.
So are you suggesting no default gateway AND nothing in the expert settings? Because that is essentially the situation. Traffic that hits the machine via the 192 network card just needs to return via the gateway for that card. Same for the 10 network. That's all. This computer isn't a router. It just stradles two networks.
Preston
If it "stradles two networks" and passes traffic between them then it is indeed used as a router. Even a router has a default route if it is not primary for all of it's traffic. All hosts on the 10.x network would set their default route to the IP address of the nic in the 10.x network and hosts in the 192.x network would use the IP address of the nic in the 192.x network. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (6.2)