LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2010, 07:42 PM   #1
wiran03
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Rep: Reputation: 0
Exclamation Routing on 2 switch for Fedora


I have a Pc that has 2 Ethernet and I have also 2 switch. I want the PC to become the router and be connected to 2 switch.
How can I setup this one on FEDORA and I want to assigned for eth0 192.168.26.51 and eth1 192.168.22.51 for the IP. BTW I'm a newbie,...

Thanks to ALL
 
Old 11-29-2010, 11:16 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Do you just want to route packets, or do you also want to do NAT? To just route packets, set ip_forwarding to 1 after setting up your network interfaces.
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Considering a Switch to Fedora...... salmanal Fedora 8 05-28-2010 04:10 AM
Fedora Core 10 routing? PlorkZ Linux - Server 6 02-07-2009 08:58 AM
Cisco 2924C XL Switch/Routing metallica1973 Linux - Networking 7 06-14-2007 01:33 PM
Should I switch to Fedora ? MasterChief1234 Fedora 10 01-05-2007 11:42 PM
Routing to switch thinkninja Linux - Networking 5 07-01-2004 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration