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

2014-02-26 Thread Richard Hector
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/02/14 12:29, Rob Owens wrote: On Sat, Feb 22, 2014 at 11:29:40PM -0300, Markos wrote: Tomorrow I'll change the network card of the server and see if the problem is on the network card. Check to see if the network cable is cat 5, cat 5e, or

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

2014-02-24 Thread Markos
On 22-02-2014 23:57, Scott Ferguson wrote: On 23/02/14 13:09, Markos wrote: On 22-02-2014 20:11, Scott Ferguson wrote: On 23/02/14 09:58, Stephen Powell wrote: On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote: I'm trying to configure a machine with two

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

2014-02-23 Thread Andrei POPESCU
On Sb, 22 feb 14, 20:55:28, Dan Purgert wrote: Now, the downside to this approach is that devices connected to the Wifi AP of the Huawei device will not be able to communicate with the stuff behind the *nix server. An easier solution (IMO) would be something like the following: 1.

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

2014-02-23 Thread Andrei POPESCU
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

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

2014-02-23 Thread Andrei POPESCU
On Sb, 22 feb 14, 19:22:16, 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

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

2014-02-23 Thread Pascal Hambourg
On 23/02/14 13:09, Markos wrote: Any suggestions of what I should check? Check that you have a DHCP client installed supported by the dhcp method in /etc/network/interfaces. List in man interfaces : dhclient, pump, udhcpc, dhcpcd. Usually dhclient (currently provided by package

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

2014-02-23 Thread Dan Purgert
On 23/02/2014 06:28, Andrei POPESCU wrote: On Sb, 22 feb 14, 20:55:28, Dan Purgert wrote: Now, the downside to this approach is that devices connected to the Wifi AP of the Huawei device will not be able to communicate with the stuff behind the *nix server. An easier solution (IMO) would

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

2014-02-23 Thread Rod James Bio
On 2/23/14, 10:09, Markos wrote: On 22-02-2014 20:11, Scott Ferguson wrote: On 23/02/14 09:58, Stephen Powell wrote: On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote: I'm trying to configure a machine with two network cards to share Internet access to an internal network the

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

2014-02-23 Thread Andrei POPESCU
On Du, 23 feb 14, 21:08:22, Rod James Bio wrote: If you are having problems with DHCP then why not set eth1 to a static IP? Because the root problem could also prevent the static configuration from working? The OP has already determined that the DHCP server in the router works with other

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

2014-02-23 Thread Rob Owens
On Sun, Feb 23, 2014 at 07:15:20AM -0500, Dan Purgert wrote: It's been ages since I've done routing on a 2-NIC PC/router. I've probably gotten something a bit wrong. I *think* for the pc to act as a router you need to have: net.ipv4.ip_forward=1 in /etc/sysctl.conf Then you configure your

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

2014-02-23 Thread Rob Owens
On Sat, Feb 22, 2014 at 11:29:40PM -0300, Markos wrote: Tomorrow I'll change the network card of the server and see if the problem is on the network card. Check to see if the network cable is cat 5, cat 5e, or cat 6. If you have a gigabit speed network card, it might reject a cat 5 cable. Or

How to configure eth0 with static ip and eth1 dhcp

2014-02-22 Thread Markos
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

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

2014-02-22 Thread Scott Ferguson
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

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

2014-02-22 Thread Stephen Powell
On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote: 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

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

2014-02-22 Thread Scott Ferguson
On 23/02/14 09:58, Stephen Powell wrote: On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote: 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

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

2014-02-22 Thread Dan Purgert
On 22/02/2014 18:11, Scott Ferguson wrote: On 23/02/14 09:58, Stephen Powell wrote: On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote: 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

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

2014-02-22 Thread Markos
On 22-02-2014 20:11, Scott Ferguson wrote: On 23/02/14 09:58, Stephen Powell wrote: On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote: 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

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

2014-02-22 Thread Markos
On 22-02-2014 22:55, Dan Purgert wrote: On 22/02/2014 18:11, Scott Ferguson wrote: On 23/02/14 09:58, Stephen Powell wrote: On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote: I'm trying to configure a machine with two network cards to share Internet access to an

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

2014-02-22 Thread Scott Ferguson
On 23/02/14 13:09, Markos wrote: On 22-02-2014 20:11, Scott Ferguson wrote: On 23/02/14 09:58, Stephen Powell wrote: On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote: I'm trying to configure a machine with two network cards to share Internet access to an internal network the