1,105,229 Community Members

Change My Fedora Into Router !!

Member Avatar
fadi-ft
Newbie Poster
9 posts since May 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

hey guys

I don't know if this is the right place for my post subject

I want to transfer my Fedora OS into router such that the PC has two NICs on it, so i want to connect two computers to this PC and let the Fedora OS acts as a router and make routes between these two PCs.

any one have any idea/tut/steps ...

thanx!!

Member Avatar
k2k
Posting Whiz
354 posts since Nov 2007
Reputation Points: 5 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

huh, it should be simple. just configure and bring up both of your NICs and route other computers through this box. """route ADD destinationIP GatewayPC_IP"""""

if you want this box be able to act like a wide area network simulator then you need some kind of application in it. FreeBSD has dummynet, i guess Fedora you have to download some 3rd party sw.

Member Avatar
blud
Linux Reject
706 posts since Apr 2004
Reputation Points: 82 [?]
Q&As Helped to Solve: 41 [?]
Skill Endorsements: 3 [?]
Moderator
 
0
 

You will also need to enable IP Forwarding if your going to use the system as a router. in /etc/sysctl.conf, you would add the following lines

# Controls IP packet forwarding
net.ipv4.ip_forward = 1

Then load the changes with "sysctl -p"

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: