Sponsored Content
Full Discussion: Linux Router?
Special Forums IP Networking Linux Router? Post 53668 by cstovall on Wednesday 21st of July 2004 10:24:42 PM
Old 07-21-2004
Linux Router?

I am trying to set up a linux box as a router, but I am a little confused
on how to do this. I am using Red Hat 9.0 on a machine that has 2
nic cards. Also, I am using a DSL pppoe connection. I have installed
rp-pppoe and I am connected to the internet via the pseudo pppoe
interface. I have enabled port forwarding , so how do I determine
my internal network settings on the second nic? Should I continue
to keep eth0 down considering pppoe uses it? Any help would be
greatly appreciated. Thanks.
 

3 More Discussions You Might Find Interesting

1. IP Networking

How to config router on Linux

I m new to Linux, It is connected with internet on simple telephone line, now I m trying to connect it thru dedicated line and with a router. pl help me what i hv to done in s/w as well as h/w. Pl consider me a new user so detailed answer is required. (4 Replies)
Discussion started by: zaheerkhan
4 Replies

2. IP Networking

Linux behind a cisco router

Dear All, I have worked with xDSL routers working in bridged mode, and linux behind them working as a Firewall utilizing IPTABLES. My question is, how this will change if the xDSL router is replaced with a Cisco Router? I mean to ask that, can I assign a public ip on the linux machine, which... (0 Replies)
Discussion started by: tmm
0 Replies

3. Red Hat

How to LINUX machine as a router.

Hi guys, could you help me to configure my Linux machine to behave as router? Scenario: Machine OS: CentOS 6.2 NIC: eth0: configured with a static IP by the ISP. eth1: not configured yet Virtual Machine: CentOS 5.7 NIC : eth0 : not configured yet eth1 : not configured yet... (8 Replies)
Discussion started by: saqlain.bashir
8 Replies
PPPOE-CONNECT(8)					      System Manager's Manual						  PPPOE-CONNECT(8)

NAME
pppoe-connect - Shell script to manage a PPPoE link SYNOPSIS
pppoe-connect [config_file] pppoe-connect interface user [config_file] DESCRIPTION
pppoe-connect is a shell script which manages a PPPoE connection using the Roaring Penguin user-space PPPoE client. If you omit con- fig_file, the default file /etc/sysconfig/network-scripts/ifcfg-ppp0 is used. If you supply interface and user, then they override the Ethernet interface and user-name settings in the configuration file. Note that normally, you should not invoke pppoe-connect directly. Instead, use pppoe-start to bring up the PPPoE connection. pppoe-connect first reads a configuration file. It then brings up a PPPoE connection. If the connection ever drops, a message is logged to syslog, and pppoe-connect re-establishes the connection. In addition, each time the connection is dropped or cannot be established, pppoe-connect executes the script /etc/ppp/pppoe-lost if it exists and is executable. The shell script pppoe-stop causes pppoe-connect to break out of its loop, bring the connection down, and exit. TECHNICAL DETAILS
pppoe-connect uses the following shell variables from the configuration file: ETH The Ethernet interface connected to the DSL modem (for example, eth0). USER The PPPoE user-id (for example, b1xxnxnx@sympatico.ca). PIDFILE A file in which to write the process-ID of the pppoe-connect process (for example, /var/run/pppoe.pid). Two additional files ($PID- FILE.pppd and $PIDFILE.pppoe) hold the process-ID's of the pppd and pppoe processes, respectively. By using different configuration files with different PIDFILE settings, you can manage multiple PPPoE connections. Just specify the con- figuration file as an argument to pppoe-start and pppoe-stop. AUTHOR
pppoe-connect was written by David F. Skoll <dfs@roaringpenguin.com>. The pppoe home page is http://www.roaringpenguin.com/pppoe/. SEE ALSO
pppoe(8), pppoe-start(8), pppoe-stop(8), pppd(8), pppoe.conf(5), pppoe-setup(8), pppoe-status(8), pppoe-sniff(8), pppoe-server(8), pppoe- relay(8) 4th Berkeley Distribution 21 February 2000 PPPOE-CONNECT(8)
All times are GMT -4. The time now is 08:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy