probelm with gateway in suse 7.3
Hi, I have suse 7.3 & have 2 network card for installing NAT & router that one card is for internal network and another is for external network. I have problem with that because when i assign an IP as a default gateway for one card it's automatically write for another card and if i remove that, IP as a default gateway for another card was removed, on the other hand IP for default gateway for 2 network cards was dependent to each other but in windows 2000 i don't have this problem and the IP default gateway for two net cards are independent to each other and i can assign differents IP as a default gateway for two network card on the same machine for example one card maybe have a IP for default gateway and another card on the same machine don't have any IP for default gateway. I don't know is it bug for suse 7.3 or it's true? What can i do with this problem? Ps:i configure 2 network cards in control center in Xwindow Thanks, Payam __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
* payam payami wrote on Sun, Dec 29, 2002 at 03:09 -0800: [2 NIC]
I have problem with that because when i assign an IP as a default gateway for one card it's automatically write for another card
You don't assign default gateways to NIC (network interface cards), but to hosts (routers). The NIC is selected by the default route.
on the other hand IP for default gateway for 2 network cards was dependent to each other but in windows 2000 i don't have this problem
It may be possible to specify multiple default gateways in Win2K, and one of them may be the true default (!) gateway, but Win has many known issues and thus shouldn't be used for networking.
for two network card on the same machine for example one card maybe have a IP for default gateway and another card on the same machine don't have any IP for default gateway.
Yes, but this is technical non-sense I think. A default gateway is called so, since it is the default router to use. By this, it's clear from the IP/Netmask pair which NIC has to be used to reach the default gateway (of course, for win this may be not clear, don't know). The an application sends a packet, it usually should not bind to specific interfaces (and this is pretty unportable, also) but let the kernel do it's routing decision - for instance by useing the default router.
What can i do with this problem?
Maybe a look to the NET3-HOWTO helps. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel.
participants (2)
-
payam payami
-
Steffen Dettmer