Re: binding IPs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 05, 2007 at 14:44:29 +0800,
  LC <listfedora@xxxxxxxxx> 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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux