binding IPs
Bruno Wolff III
bruno at wolff.to
Tue Jun 5 20:20:07 UTC 2007
On Tue, Jun 05, 2007 at 10:23:54 -0500,
"Mikkel L. Ellertson" <mikkel at infinity-ltd.com> wrote:
> Bruno Wolff III wrote:
> > On Tue, Jun 05, 2007 at 14:44:29 +0800,
> > LC <listfedora at gmail.com> wrote:
> >> Thanks. This box is a samba machine. I want to allow local users and remote
> >> users to access it. I have 2 NIC on this box. eth0 is on a public
> >> IP(12.73.1.5) and eth1 is on the local IP(192.168.1.5). But how do i set
> >> the gateway? Can i specify the public gateway for eth0(12.73.1.1) and the
> >> gateway for eth1 (192.168.1.1) and as for the gateway in
> >> /etc/sysconfig/network i will remove it. Will this work?
> >
> > The gateway (default route) should be on the nic that faces the internet.
> > It should be whatever is appropiate for the network connection through
> > your ISP.
> > There is no gateway associated with your nic facing your internal network.
> > Both nics should have an appropiate netmask describing the ip addresses
> > that have direct links to them.
> >
> Gateway and default route are NOT the same thing. The default route
You are correct.
> uses a gateway, but you can also have a gateway to a specific
> network. For example, you can have a network 192.168.6.0 that is
This is very rare though and unlikely to be what he wanted to do.
Still I should be more precise when giving advice and it is good that
you corrected me.
More information about the fedora-list
mailing list