Re: /etc/network/interfaces and pppoe
> > I'm not clear how to setup /etc/network/interfaces.
I wasn't clear at first either. Would an example help? This is what mine
looks like:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 10.0.0.254
netmask 255.0.0.0
network 10.0.0.0
broadcast 10.255.255.255
Mine is set up for a firewall, but if you're using pppoe (like I am),
then the top line [auto eth0] should be right, as well as the following
line.
> > OPTIONS
> > -I interface
> > The -I option specifies the Ethernet interface to use. Under
> > Linux, it is typically eth0 or eth1. The interface should be
> > "up" before you start pppoe, but should not be configured to
> > have an IP address.
> >
> > Should be "up" but without an IP address.
I think this makes sense from a pppoe standpoint but maybe not from a
network standpoint; Unless the NIC is configured with an IP (refer to
eth1 above) then it probably won't be on the network. PPPoE is usually a
dynamic IP address therefore configuring it wouldn't make sense, thus
the DHCP. I'm no network administrator though, so if I'm wrong, feel
free to correct me.
>
> The correct way would be to setup your NIC with IP and use pppoeconf
> afterwards. Works For Me (TM).
Worked for me too. Once you use pppoeconf, you should have no problem if
you have the /etc/network/interfaces file configured somewhat similar to
mine. Good luck!
Erinn
--
"You'll find that the only thing you can do easily is be wrong,
and that's hardly worth the effort."
- The Phantom Tollbooth
Reply to: