Tanks Mick ! I ajusted /etc/conf.d/net resuts: localhost home # ifconfig eth0 Link encap:Ethernet HWaddr 00:25:22:b2:64:44 inet addr:192.168.0.159 Bcast:255.255.255.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1 RX packets:166 errors:0 dropped:0 overruns:0 frame:0 TX packets:96 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:20671 (20.1 KiB) TX bytes:12593 (12.2 KiB) Interrupt:44 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) localhost home # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.2 0.0.0.0 UG 2 0 0 eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo 192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 eth0 localhost home # if route show > ^C localhost home # ip route show default via 192.168.0.2 dev eth0 metric 2 127.0.0.0/8 via 127.0.0.1 dev lo 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.159 metric 2 But still not working :( I change for emerge networkmanager rc-update del net.eth0 default rc-update add NetworkManager default Work fine !!!!!! :) Do not understand why Regards Alexandre Riveira Tanks Alexandre Riveira 2011/8/12 Mick > On Friday 12 Aug 2011 13:52:35 Alexandre Riveira wrote: > > > When you run ifconfig what does it show? When you run 'ip route show' > > > what do > > > you get? > > > > localhost ~ # ifconfig > > eth0 Link encap:Ethernet HWaddr 00:25:22:b2:64:44 > > inet addr:192.168.0.159 Bcast:255.255.255.255 > > Mask:255.255.255.0 > > Look, this is wrong ... > > Your Broadcast should be: 192.168.0.255 > > Otherwise you're broadcasting packets beyond your LAN. > > > > UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1 > > RX packets:669 errors:0 dropped:3 overruns:0 frame:0 > > TX packets:40 errors:0 dropped:0 overruns:0 carrier:1 > > collisions:0 txqueuelen:1000 > > RX bytes:94216 (92.0 KiB) TX bytes:5395 (5.2 KiB) > > Interrupt:44 > > > > lo Link encap:Local Loopback > > inet addr:127.0.0.1 Mask:255.0.0.0 > > inet6 addr: ::1/128 Scope:Host > > UP LOOPBACK RUNNING MTU:16436 Metric:1 > > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:0 > > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > This looks OK, except that the local receive and transmit counters show > zero > ... > > > > > > localhost ~ # ip route show > > default via 192.168.0.2 dev eth0 metric 2 > > 127.0.0.0/8 via 127.0.0.1 dev lo > > 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.159 > > metric 2 > > This is OK > > > > > How have you configured your /etc/conf.d/net? > > > > config_eth0=( "dhcp" ) > > Aha! This is no longer correct if you are running the latest stable > baselayout2 and openrc. Instead it should be: > > config_eth0="dhcp" > > no brackets! > > Read more here: http://www.gentoo.org/doc/en/openrc-migration.xml > > > > > The local and eth0 interfaces seem to be reversed. How have you > defined > > > how > > > your local and eth0 interfaces are routed? > > > > I create link > > > > ln -s /etc/init.d/net.lo /etc/init.d/net.eth0 > > rc-update add net.eth0 boot > > This is correct. > > Change the dhcp entry in your /etc/conf.d/net and run: > > /etc/init.d/net.eth0 restart > > > HTH. > -- > Regards, > Mick >