LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-06-2006, 02:55 AM   #1
Ex0dus
LQ Newbie
 
Registered: Jul 2006
Location: Australia
Distribution: Suse 10
Posts: 2

Rep: Reputation: 0
static routing problems in suse


hey. im very new to linux so i will try and be as detailed as possible. My objective is to setup a simple router to do static routing between 3 subnets at my location and direct internet traffic to one isp controlled cisco router, and traffic to other work locations (on different subnets) to another isp controlled router. the computer i have set up has 4 network cards. i was planning on making 3 of them the routing card on each subnet, and the 4th is an ip that i have setup to have a direct connection to the internet. all are being read fine

now my first problem is that using the latest build of suse, i have been unable to configure all the ethernet cards to be activated at the same time using knetworkmanager and yast. enabling one card will just cause the other to be disabled.


now in addition to this, i have been unable to enable advanced routing in yast, with my static routes set up in it. on enabling with the tick box, and closing, the advanced routing i find has not enabled and the box is again unticked.

any help would be appreciated
 
Old 07-06-2006, 03:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
to enable routing run "echo 1 > /proc/sys/net/ipv4/ip_forward" and then just add the routes on that you wish to route to, e.g. "route add -net 192.168.10.0/24 gw 192.168.0.1" to route traffic in the 192.168.10.0 network via the next hop of 192.168.0.1. i assume that your internet facing cisco router would be doing any source natting to RIPE addresses, so you wouldn't be looking into anything like masquarading on iptables at all. it's realy simple stuff to just route a few close networks, and if you wish to connect two machines who's default gateways are this one box on different subnets then there is no route even needed as the router in the middle just know s what is directly connected anyway.
 
Old 07-11-2006, 02:15 AM   #3
Ex0dus
LQ Newbie
 
Registered: Jul 2006
Location: Australia
Distribution: Suse 10
Posts: 2

Original Poster
Rep: Reputation: 0
thanks very much. i will give it a go
 
  


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
Static Routing Problem kewlemer Linux - Networking 3 07-02-2006 05:56 PM
Static Routing Troubles Rundi Linux - Networking 2 07-16-2004 11:38 AM
Static Routing =!= uplink? jpbarto Linux - Networking 12 10-02-2003 11:30 AM
Static Routing in Linux suvajit Linux - Networking 4 05-16-2003 02:54 AM
Static Ip's and Routing Sarcha Linux - Networking 5 02-28-2003 08:19 AM

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

All times are GMT -5. The time now is 05:48 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