help configuring /etc/network/interfaces?

Jordan Erickson jerickson at logicalnetworking.net
Fri Apr 2 01:17:11 BST 2010


Joseph,

I don't see a 'gateway' stanza in your interfaces file for eth0..might
explain no Internet access. ;)


Cheers,
Jordan


---
Joseph Hartman wrote:
> Hi all, I cloned a karmic ltsp server onto a new machine and can't
> configure /etc/network/interfaces so that I get LTSP working and
> Internet simultaneously. If /interfaces says:
> 
>         # This file describes the network interfaces available on your
>         system
>         # and how to activate them. For more information, see interfaces(5).
> 
>         # The loopback network interface
>         auto lo
>         iface lo inet loopback
> 
>         # The primary network interface
>         auto eth2
>         # iface eth2 inet dhcp
> 
>         auto eth0
>         iface eth0 inet static
>             address 192.168.0.254
>             netmask 255.255.255.0
>             network 192.168.0.0
>             broadcast 192.168.0.255
>             up iptables-restore < /etc/ltsp/nat
> 
> 
> then I get my LTSP network working fine, but no Internet. In this
> configuration "ip route" shows this:
> 
>         192.168.0.0/24 <http://192.168.0.0/24> dev eth0_rename  proto
>         kernel  scope link  src 192.168.0.254  metric 1
>         192.168.0.0/24 <http://192.168.0.0/24> dev eth2  proto kernel 
>         scope link  src 192.168.0.254  metric 1
>         169.254.0.0/16 <http://169.254.0.0/16> dev eth2  scope link 
>         metric 1000
>         default via 192.168.0.254 dev eth2  proto static
> 
> 
> If I delete everything below the "# iface eth2 inet dhcp" line, Internet
> works great, but I don't get LTSP obviously. Can anyone help me out? I
> don't get the "eth0_rename" thing at all, but I already tried renaming
> eth0 to eth0_rename and it didn't help. Thanks -Joe
> 


-- 
Jordan Erickson
(707) 636-5678 - http://www.logicalnetworking.net
* Please consider the environment before printing this e-mail *



More information about the edubuntu-users mailing list