Sent from my HTC ----- Reply message ----- From: "Johan Vermeulen" <jvermeulen at cawdekempen.be> To: "CentOS mailing list" <centos at centos.org> Subject: [CentOS] Centos6.4 routing problem Date: Tue, Jun 4, 2013 16:13 hello Mark, thanks for the help. Op 04-06-13 15:56, m.roth at 5-cent.us schreef: > Johan Vermeulen wrote: >> dear All, >> >> I'm facing this routing problem, the setup is actualy part of ltsp, but >> I think this problem is Centos-specific. >> >> The server is a Dell Poweredge R210. The install is standard 6.4, updated. >> >> I have one nic facing the public internet: >> > First, we always have BOOTPROTO set - in your case, assuming you're > getting em1's IP from DHCP, you should have that; in the case of em2, it's > BOOTPROTO=static. As it is, I'd think (without testing) that em1 is trying > to present a reserved IP to the 'Net, which is a no-no. both ifcfg's now have BOOTPROTO=static and I restarted network and dhcpd. > >> vi /etc/sysconfig/network-scripts/ifcfg-em1 >> >> DEVICE=em1 >> BOOTPROTO=none >> HWADDR=d4:ae:52:c1:28:2b >> NM_CONTROLLED=no >> ONBOOT=yes >> TYPE=Ethernet >> UUID="cdfe1d58-c56c-47fc-8a93-5df2e168d176" >> IPV6INIT=no >> USERCTL=no >> DNS2=195.238.2.22 >> DNS1=192.168.66.1 >> IPADDR=192.168.66.5 >> NETMASK=255.255.255.128 >> GATEWAY=192.168.66.1 >> >> and one nic serving the lan and dhpcd. >> >> vi /etc/sysconfig/network-scripts/ifcfg-em2 >> >> DEVICE=em2 >> BOOTPROTO=none >> HWADDR=d4:ae:52:c1:28:2c >> NM_CONTROLLED=no >> ONBOOT=yes >> TYPE=Ethernet >> UUID="e72a17b6-fb5f-43f0-9136-fa4d92b542ae" >> IPADDR=192.168.70.129 >> NETMASK=255.255.255.128 >> IPV6INIT=no >> USERCTL=no > <snip> > Secondly, what does route show? > > mark > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos [root at centoshofkwartier ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.70.128 * 255.255.255.128 U 0 0 0 em2 192.168.66.0 * 255.255.255.128 U 0 0 0 em1 link-local * 255.255.0.0 U 1002 0 0 em1 link-local * 255.255.0.0 U 1003 0 0 em2 default 192.168.66.1 0.0.0.0 UG 0 0 0 em1 greetings, J. _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos