Am 04.09.2012 um 20:34 schrieb James B. Byrne: > We use a dual homed CentOS-6.3 host for our Internet gateway router. > Its internal nic (eth1) is configured such that the address > 192.168.0.1 is one of its aliases. > > # cat /etc/sysconfig/network-scripts/ifcfg-eth1:192BOOTPROTO=none > BROADCAST=192.168.255.255 > DEVICE=eth1:192 ^^^^^^^^ > IPADDR=192.168.0.1 > IPV6INIT=no > MTU="" > NAME="LAN - Non-routable" > NETMASK=255.255.0.0 > NETWORK=192.168.0.0 > ONBOOT=yes > ONPARENT=yes > > Internal packets routed to 192.168.209.41 are passing through this > router out onto the network. I am afraid that the reason is not > evident to me and I have been unable to locate an answer. > > The primary address for eth1 has the following configuration: > > # cat /etc/sysconfig/network-scripts/ifcfg-eth1 > BOOTPROTO=none > BROADCAST="" > DEFROUTE=yes > DEVICE=eth1 ^^^^^^^^^ > DOMAIN="hamilton.harte-lyne.ca harte-lyne.ca" > GATEWAY=216.xxx.yyy.53 > HWADDR=00:25:90:60:11:8D > IPADDR=216.xxx.xxx.1 > IPV4_FAILURE_FATAL=yes > IPV6_AUTOCONF=yes > IPV6_DEFROUTE=yes > IPV6_FAILURE_FATAL=no > IPV6INIT=yes > IPV6_PEERDNS=yes > IPV6_PEERROUTES=yes > MACADDR="" > MTU="" > NAME="LAN Link - eth1" > NETMASK="" > NETWORK="" > NM_CONTROLLED=no > ONBOOT=yes > PREFIX=24 > TYPE=Ethernet > UUID=9c92fad9-6ecb-3e6c-eb4d-8a47c6f50c04 > > What configuration setting am I missing that will cause packets to > 192.168.ccc.ddd to stay on the LAN and not try and pass though the WAN > interface? Is it correct to set the internal net as alias on the public interface (216.xxx.xxx.1) - both via eth1? This is for sure not your intention. Maybe a typo ... -- LF _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos