[Voyage-linux] config interface for internet access

Anthony PENHARD (spam-protected)
Fri Dec 13 05:39:33 HKT 2013


Hi all,

I have a Alix 2d2 , with eth0 and eth1
i use a lot of config in /etc/network/interfaces

by default eth0 configure in DHCP mode
and nothing for eth1
like this :
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp


I have an ADSL box (192.168.0.254) with DHCP server (192.168.0.10 to
192.168.0.50)
 and attribute an IP
then when i connected to the "allix"

the result of "ifconfig " :

eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          inet addr:192.168.0.24  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:aaaa:aaaa:aaaa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:398 errors:0 dropped:0 overruns:0 frame:0
          TX packets:294 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37394 (36.5 KiB)  TX bytes:39512 (38.5 KiB)

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:65536  Metric:1
          RX packets:94 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6360 (6.2 KiB)  TX bytes:6360 (6.2 KiB)

PS : HWaddr and inet6 i modify it for anonymous ...

and i don't have internet access :
nothing with : "ping google.fr" for exemple

i also try to fixed IP bit the same result ...

on an other Alix 2d2 in an other house with almost the same config i
don't have any problems ...

thanks for help
Anthony



More information about the Voyage-linux mailing list