Linux Router

Taking care of your Linux box.
mfaisalkh
Havaldaar
Posts: 124
Joined: Wed Mar 17, 2004 4:05 pm
Location: Karachi

Linux Router

Postby mfaisalkh » Tue Jun 22, 2004 2:24 pm

Dear Frendz,

How can i configure RH Linux 8.0 Machine as a Router.
Plz tell me about this.

I m waiting for ur replies.

asaf
Lance Naik
Posts: 41
Joined: Wed Aug 07, 2002 8:00 pm
Location: Karachi
Contact:

Linux as a router

Postby asaf » Tue Jun 22, 2004 3:11 pm

Hello.
Install two network cards in your linux box.
Assign one ethernet interface an IP address from one of the networks. Assign the other interface an IP from the other network. The IP's must belong to two different networks.

Enable ip forwarding between the two interfaces by issuing
echo '1' > /proc/sys/net/ipv4/ip_forward

Commands you will use are:

ifconfig
route
ping

Good luck.
Asaf Maruf Ali
PING Systems
Network Security-Linux-Consulting
605, 6th Floor,
Clifton Centre, Block 5,
Clifton, Karachi-75600
Pakistan
Tel # 5872438, 5868275, 5833971-2
Fax # 5868927

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Wed Jun 23, 2004 1:37 am

Dear mfaisalkh,
Salam,

http://www.farsite.co.uk/tcp_ip_ppp_x.2 ... _Linux.htm

Best Regards.
Farrukh Ahmed

zoltronuga
Lance Naik
Posts: 16
Joined: Wed Aug 27, 2003 4:22 pm
Location: pt

Postby zoltronuga » Wed Jun 23, 2004 4:38 am

here is a good place to start

http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/

and

http://www.yolinux.com/TUTORIALS/LinuxT ... teway.html

and

http://www.linuxforum.com/linux_tutorials/6/1.php

I currently setting up a router+webserver using this three sites for reference.

just trying to help

zoltronuga

nasacis
Battalion Havaldaar Major
Posts: 269
Joined: Sat Dec 13, 2003 3:58 pm
Location: Faisalabad
Contact:

Postby nasacis » Wed Jun 23, 2004 10:41 pm

Why do you want to use linux box as a router ?

Regards
Nafees Ahmed
Cell: +92.300.8653568
UAN: 041-111432432
Nexlinx Faisalabad
www.nexlinx.net.pk
nafees29@gmail.com


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 1 guest