Open Suse Router


 
Thread Tools Search this Thread
Special Forums IP Networking Open Suse Router
# 1  
Old 04-19-2011
Data Open Suse Router

Hello I am having some issues doing to routing I have 4 network cards and one is connected to a linksys router with everything turned off to give us a static ip to use for the gateway out to the internet.

Hear is what we have

We have
eth2 with ip address of 192.168.1.2 / sub 255.255.255.0 <----Our gateway to internet
eth3 with ip address of 10.85.0.1 sub 255.255.224.0
eth0 with ip address of 10.85.32.1 sub 255.255.224.0
eth1 with ip address of 10.85.64.1 sub 255.255.224.0

We want all traffic to go out though eth2 to be able to get online

we have tried some static routes but never fully got them to work.
we are able to get it to hit the 192.168.1.2 but not the ip of the linksys of 192.168.1.1

We had this working once with windows with 3 nic and having our layer 3 switch with 3 vlans have the linksys plugged into the default vlan but we could not really browes the internet good with it vary slow that way I am trying to have the linksys plugged into the layer 3 switch at all.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. SuSE

g++ build on SUSE 12.1, cannot open included file

Hello, I have a project that I have compiled on a number of linux systems including CentOS, Ubuntu, and Windows Cygwin. I am trying to build the project under SUSE 12.1. The make file runs allot of the way through, but then throws an error that an included file can't be opened. This is the... (4 Replies)
Discussion started by: LMHmedchem
4 Replies

2. IP Networking

My router has UPnP, as do its work with ubuntu to automatically open ports

My router has UPnP,how to make it work with ubuntu to automatically open ports I try to open the following command " /sbin/iptables -I INPUT -d 0/0 -s 0/0 -p tcp --dport 21 -j ACCEPT" ,local only opens ,if i put the ip 192.168.1.68, it works correctly, if i`m put my external ip does not work,I... (9 Replies)
Discussion started by: dhalus
9 Replies

3. UNIX for Dummies Questions & Answers

Remote Unix printing to my WinXP works with no router. How can I make it work through my router?

I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies

4. SuSE

open SUSE 11.0 and its printer configuration

Does anybody who uses open SUSE 11.0? I have used open SUSE 10.2 for about 18 months. Today I installed open SUSE 11.0 The printer does not work. I tried all the tricks tweak it. My printer is an old one. It is HP Deskjet 5600 series. It works fine. I did the configuration using... (0 Replies)
Discussion started by: Angelo
0 Replies

5. Programming

Open Suse 10 seg fault

Okay, so here is some code that when compiled on Fedora Core 6 works great, but when I compile and run it on OpenSuse 10 it gives back a seg fault when trying to join the 2nd thead. #include <pthread.h> #include <stdio.h> int print_message_function( void *ptr ); int x = 1; main() { ... (1 Reply)
Discussion started by: chrisdrobison
1 Replies
Login or Register to Ask a Question
route(8c)																 route(8c)

Name
       route - manually manipulate the routing tables

Syntax
       /etc/route [ -f ] [ -n ] command args ]

Description
       The  program  is  used  to manipulate the network routing tables manually.  However, normally it is not needed, as the system routing table
       management daemon, should tend to this task.

       The program accepts two commands: add, to add a route and delete, to delete a route.

       All commands have the following syntax:

	    /etc/route command [ net | host ] destination gateway [ metric ]

       In this syntax, destination is a host or network for which the route is to, gateway is the gateway to which packets  should  be	addressed,
       and  metric  is	an  optional count indicating the number of hops to the destination.  The metric is required for add commands.	It must be
       zero if the destination is on a directly-attached network, and nonzero if the route utilizes one or more gateways.

       When adding a route with metric 0, the gateway given is the address of this host on the common network, indicating the interface to be used
       for  transmission.   Routes to a particular host are distinguished from routes to a network by interpreting the Internet address associated
       with destination.  The optional keywords net and host force the destination to be interpreted as a network or host, respectively.   If  the
       destination  has  a local address part of INADDR_ANY, then the route is assumed to be to a network. Otherwise, it is presumed to be a route
       to a host.  If the route is to a destination connected via a gateway, the metric should be greater than 0.  All	symbolic  names  specified
       for a destination or gateway are looked up first as a host name using If this lookup fails, is then used to interpret the name as that of a
       network.

       The command uses a raw socket and the SIOCADDRT and SIOCDELRT ioctls to do its work.  As such, only the superuser can  modify  the  routing
       tables.

Options
       -f   Flushes  the routing tables of all gateway entries.  If is used with one of the commands described above, the tables are flushed prior
	    to the command's application.

       -n   Prevents attempts to print host and network names symbolically when reporting actions.

Restrictions
       The change operation is not implemented.  Therefore, you should first add the new route, and then delete the old one.

Diagnostics
       add [host | network] %s: gateway %s flags %x"
       The specified route is being added to the tables.  The values printed are from the routing table entry supplied in the ioctl call.  If  the
       gateway	address  used  was not the primary address of the gateway (the first one returned by the gateway address is printed numerically as
       well as symbolically.

       delete [ host | network] %s: gateway %s flags %x
       The specified route is being deleted from the tables.  The values printed are from the routing table entry supplied in the ioctl call.	If
       the  gateway  address used was not the primary address of the gateway (the first one returned by the gateway address is printed numerically
       as well as symbolically.

       %s %s done
       When the flag is specified, each routing table entry that is deleted is indicated with a message of this form.

       Network is unreachable
       An attempt to add a route failed because the gateway listed was not on a directly-connected network.  The next-hop gateway must be given.

       not in table
       A delete operation was attempted for an entry which was not present in the tables.

       routing table overflow
       An add operation was attempted, but the system was low on resources and was unable to allocate memory to create the new entry.

See Also
       intro(4n), routed(8c)

																	 route(8c)