Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi there Guys,
I've got myself in a bit of a pickle. I am trying to setup my FC5 box at home to take care of the internet connection using rp-pppoe. I tried the other day without a huge amount of success.
I have my ADSL2 modem / router in Pure bridged mode which from my understanding just forwards packets off to the interface, to that a cable going directly into eth0 on the linux box
eth1 (2nd nic) in the linux box then goes off to a switch and rest of the network.
I can establish a connection from the linux box using rp-pppoe and browse sites no worries at all from the linux box but not on windows, I can't even ping IP's but I am close I feel and it can only be something simple.
Where my confusion sets in is eth0 is set to use DHCP, do I need an IP address, subnet mask etc set on this one?
I have eth1 set to 172.17.12.1 as the IP and 172.17.12.254 as the gateway.
Should I need to set eth0 with an IP of some description, ppp0 gets an IP from my provider (dynamic) so I'm thinking perhaps I do the iptables to ppp0 rather than eth0?
Any help would be great, as I mentioned previously I feel I am very close but not entirely sure where I'm going wrong.
I don't have DSL (I have cable instead), so I can't help with DSL-specific things like the difference between ppp0 and eth0, but...
If an interface uses DHCP, you don't have to set any other parameters for it.
In order to forward packets from eth1 to eth0, you have to explicitly allow forwarding. This is done by setting "net.ipv4.ip_forward=1" in /etc/sysctl.conf. If you want it to take effect before you reboot you can run "sysctl -w net.ipv4.ip_forward=1" as root.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 184.108.40.206, KDE 3.5.8 and KDE 4.0 beta, Plu
Have you enable IP Forwarding? If not that is what you need to do to allow network traffic to cross from eth1 to eth0. Also do not define a gateway on eth1. It will confuse a simple setup. You can leave eth0 as dhcp. Check out this site to build a simple firewall script and sets up ip forwarding for you as well all in one script. http://easyfwgen.morizot.net/gen/