Visit Our UNIX and Linux User Community

Static route on router

Thread Tools Search this Thread
Special Forums IP Networking Static route on router
# 1  
Old 07-17-2013
Static route on router

Hi all,

This may be the basic question of Routing but I am a sort of new to networking so I am asking.

Do I need to put route for my router's LAN port ip to WAN (serial) port ip Or the router itself can communicate between its ports without routes.

lan ( ------- Wan (


# 2  
Old 07-17-2013
I'm not sure what you're asking. What traffic are you expecting to go from where to where?
# 3  
Old 07-18-2013

I mean , if I need to add route to allow traffic to go from my router's LAN port to WAN port by adding :

ip route  add

OR it is not required .



Last edited by Scott; 07-18-2013 at 12:01 PM.. Reason: Code tags
# 4  
Old 07-18-2013
I believe it's required. It won't forward all traffic to all interfaces without asking, it needs to be told.

Previous Thread | Next Thread
Test Your Knowledge in Computers #604
Difficulty: Medium
In MySQL 8.0 table encryption can be managed globally by defining and enforcing encryption defaults
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Static route not added

Hello Guys.. I am facing this weird problem of static route not added after reboot!! Following is my route-<interface> file.. # cat /etc/sysconfig/network-scripts/route-eth0 ADDRESS0= NETMASK0= GATEWAY0= ADDRESS1= (3 Replies)
Discussion started by: parth_buch
3 Replies

2. AIX

Edit Static Route

Anyone know how to edit a static route in AIX? I find myself deleting and then recreating the route with the new information. Would be nice to know how to edit the route. (3 Replies)
Discussion started by: bbbngowc
3 Replies

3. Solaris

Error adding static route

Hi all i have a simple question here I'm kind of newbie on solaris development currently i'm trying to add static route to solaris environment and i got error, each time i add this static route to it btw this is my command : root@xxxxxx # ping is alive echo ... (15 Replies)
Discussion started by: l33tbot_if
15 Replies

4. IP Networking

I need HELP to Set up Coyote Linux router with 1 static IP & 64 internal static IP

hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first. ... (0 Replies)
Discussion started by: dlwoaud
0 Replies

5. AIX

Can not remove static route from AIX 5.3

Dear all, I Try to remove a static route with smitty, but recieve this error: Method error (/usr/lib/methods/chginet): 0514-009 Cannot delete an object from the device configuration database. 0821-216 chginet: Cannot delete route (net,, (2 Replies)
Discussion started by: hrkama
2 Replies

6. IP Networking

When to use static route on server?

Hi guys, sorry for asking noob question. When do we really need to add a static route on the server? I encounter this situation whereby a client trigger a network packet to the destination but the destination does not know how to return the traffic back to the client (source). The issue was... (4 Replies)
Discussion started by: DrivesMeCrazy
4 Replies

7. AIX

removing static route

#netstat -nr (shows the following with more static routes) UGH 0 29 en0 - - and i just want to remove the above one i tried #smitty rmroute destination type= net dest add = default gateway= net... (1 Reply)
Discussion started by: pchangba1
1 Replies

8. UNIX for Dummies Questions & Answers

Static Route

Hi, Request you to please tell me the command or the process to add the static route in redhat linux. Thanks in Advance. Regards Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

9. HP-UX

Static route for hpux 11.22

I want to make static route how would I proceed? I'm using "route add DestinationIP gatewayIP hop to 1 I would like to make this permanent, so when it reboots I don't want to loose it, would I do this in netconf file? If so where? I did a search got this site, it didn't help much. ... (2 Replies)
Discussion started by: catwomen
2 Replies

10. IP Networking

static route ?

Hi, I have a machine that sits on 10.2 network. I need to ssh from this to another box that is on both 10.125 & 10.140 VLANs what should I need to do? Thanks! (3 Replies)
Discussion started by: chaandana
3 Replies

Featured Tech Videos