Sponsored Content
Full Discussion: Static route on router
Special Forums IP Networking Static route on router Post 302833825 by dextergenious on Thursday 18th of July 2013 01:14:34 AM
Old 07-18-2013
Hi,

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

Code:
ip route  add  202.159.228.70 255.255.255.0  172.26.40.5

OR it is not required .



Regards,

Dexter

Last edited by Scott; 07-18-2013 at 12:01 PM.. Reason: Code tags
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. AIX

removing static route

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

5. 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

6. 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,192.168.30.101,192.168.30.1)... (2 Replies)
Discussion started by: hrkama
2 Replies

7. 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

8. 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 1.2.3.1 1.2.3.1 is alive echo ... (15 Replies)
Discussion started by: l33tbot_if
15 Replies

9. 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

10. 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=172.31.0.1 NETMASK0=255.255.255.255 GATEWAY0=192.168.208.1 ADDRESS1=172.31.15.2... (3 Replies)
Discussion started by: parth_buch
3 Replies
defaultrouter(4)						   File Formats 						  defaultrouter(4)

NAME
defaultrouter - configuration file for default router(s) SYNOPSIS
/etc/defaultrouter DESCRIPTION
The /etc/defaultrouter file specifies a IPv4 host's default router(s). The format of the file is as follows: IP_address ... The /etc/defaultrouter file can contain the IP addresses or hostnames of one or more default routers, with each entry on its own line. If you use hostnames, each hostname must also be listed in the local /etc/hosts file, because no name services are running at the time that defaultrouter is read. Lines beginning with the ``#'' character are treated as comments. The default routes listed in this file replace those added by the kernel during diskless booting. An empty /etc/defaultrouter file will cause the default route added by the kernel to be deleted. Use of a default route, whether received from a DHCP server or from /etc/defaultrouter, prevents a machine from acting as an IPv4 router. You can use routeadm(1M) to override this behavior. FILES
/etc/defaultrouter Configuration file containing the hostnames or IP addresses of one or more default routers. SEE ALSO
in.rdisc(1M), in.routed(1M), routeadm(1M), hosts(4) SunOS 5.10 17 Aug 2004 defaultrouter(4)
All times are GMT -4. The time now is 11:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy