[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to configure eth0 with static ip and eth1 dhcp



On Du, 23 feb 14, 09:57:38, Scott Ferguson wrote:
> On 23/02/14 09:22, Markos wrote:
> > Hi all,
> > 
> > 
> > I'm trying to configure a machine with two network cards to share
> > Internet access to an internal network
> > 
> > the /etc/network/interface is:
> > 
> > # The loopback network interface
> > auto lo
> > iface lo inet loopback
> > 
> > auto eth0
> > iface eth0 inet static
> >         address 192.168.0.1
> >         netmask 255.255.255.0
> gateway 192.168.1.1
> 
> > 
> <snipped>
> allow-hotplug eth1
> > iface eth1 inet dhcp

Two gateways (one from the static config and one from dhcp)?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature


Reply to: