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 > > The card eth0 is used as gateway on the internal network with static IP > 192.168.0.1 and eth1 is connected to the B-890 -53 Huawei modem. > > But the modem do not send an IP during initialization. > > The IP of modem is192.168.1.1. > > The modem sends the IP address (192.168.0.4) to my laptop by wifi > without problems. I'm not sure what you mean there... > > Any suggestions of what I should check? route(?) You should probably see something like:- Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default modem 0.0.0.0 UG 0 0 0 eth1 localnet * 255.255.255.0 U 0 0 0 eth0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 > > Thanks, > Markos > Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/53092b62.5040...@gmail.com