[CentOS] IPv4 192.168.71.1 'leaks out onto WAN.

Fri Jun 7 19:09:20 UTC 2013
m.roth at 5-cent.us <m.roth at 5-cent.us>

James B. Byrne wrote:
> Arch = x86_64
> OS = CentOS-6.4 (centos) with all updates applied to date.
>
> On our gateway host eth0 is the WAN access and eth1 is the LAN. I wish
> to activate the address 192.185.71.1 on eth1.  The ifcfg-eth1:192071
> file contains this:
>
> NAME=""
> BOOTPROTO=none
> MACADDR=""
> IPV6INIT=no
> DEVICE=eth1:192071
> NETMASK=255.255.255.0
> MTU=""
> BROADCAST=192.168.71.255
> ONPARENT=no
> IPADDR=192.168.71.1
> NETWORK=192.168.71.0
> ONBOOT=no
<snip>
I don't know if this would affect it, but for completeness' sake, I'd
change several there, to have
BOOTPROTO=static
and put in the MAC address.

Have you checked with ifconfig to make sure that the correct NIC is
addressed as eth1? If this is CentOS 6, you need to also check
/etc/udev/rules.d/70-persistant-net.rules

       mark