|
From: Heiko Z. <he...@zu...> - 2016-06-26 14:25:23
|
Joshua, You don't have to specifically set a route entry if you only have one network segment behind the port. Linux will handle that. I assume eth0 gets configured via DHCP? If yes, then the default route should automatically be set. The computer connected to eth1 needs the DL IP address configured as the default router. Obviously don't forget to enable the firewall rules. DL comes with a (basic) standard ruleset (which you should as a standard aproach not trust and review/modify) for a 2 NIC setup. You can easily enable it by running setup. You will also need to configure DNS and DHCP (unless you go static IP) for your LAN. Take a look at dnsmasq, which provides a lot of features in a simple package. Heiko Quoting Joshua Riden <jos...@gm...>: > Hi fellow DL users, > > I want to use Devil Linux as my router. And this is the first time > and would like to stick with it. > > I need some assistance with getting a PC to connect to the internet. > This PC is connected to the LAN port which is eth1. > The DL router is connected to the internet from eth0. eth0 has > internet access. > > I realize that I have to edit eth1 or eth0 config files in > /etc/sysconfig/nic for ROUTE entries. > > Do I put the ROUTE entries in both the eth0 and eth1 config > files? And the convention 192.168.1.0/255.255.255.0:Gateway[1] > . Would the convention in eth0 or eth1 point to the other nic with a > different gateway? > > I'm just trying to make it so that tbe PC on the LAN has internet > connectivity. > > Any assistance would be greatly appreciated and would love to make > another donation. > > Thanks, > Joshua Riden Links: ------ [1] http://192.168.1.0/255.255.255.0:Gateway -- Regards Heiko Zuerker |