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)
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)
Hi,
I've setup DHCP Server on RH linux AS3 and everything works fine except static routes. They are not getting effected on client systems.
My dhcpd.conf:
+++++++++++
ddns-update-style interim;
ddns-updates off;
option domain-name-servers 192.168.116.122;
option domain-name... (3 Replies)
#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)
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)
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)
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)
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 (172.26.40.5) ... (3 Replies)
Hi,
I am on Linux Redhat 5.3. I added this static route but now I can't seem to take it out. Can you help?
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
167.76.151.28 192.1.25.249 255.255.255.255 UGH 0 0... (1 Reply)
Discussion started by: samnyc
1 Replies
LEARN ABOUT NETBSD
route.conf
ROUTE.CONF(5) BSD File Formats Manual ROUTE.CONF(5)NAME
route.conf -- static routes config file
DESCRIPTION
The route.conf file is read by the staticroute rc.d script during system start-up and shutdown, and is intended for adding and removing
static routes.
FILE FORMAT
Lines starting with a hash ('#') are comments and ignored. Lines starting with a plus sign ('+') are run during start-up, while lines start-
ing with a minus sign ('-') are run during system shutdown. If a line starts with a '!', the rest of the line will get evaluated as a shell
script fragment. All other lines are passed to route(8). During start-up, they are passed behind a ``route add -'' command and during shut-
down behind a ``route delete -'' command.
FILES
/etc/route.conf The route.conf file resides in /etc.
/etc/rc.d/staticroute
rc.d(8) script that parses route.conf.
EXAMPLES
In this example, the interface for the desired routing changes is set, the IP address on that interface is determined, and a route is added
during startup, or deleted during system shutdown.
# Set interface and determine current IP address for added route.
!ifname=bnx0
!ipaddr=$(/sbin/ifconfig ${ifname} | awk '$1 == "inet" {print $2}')
net 10.10.1 -interface ${ipaddr}
In this example, IP forwarding is turned on during start-up, and a static route added for 192.168.2.0. During system shutdown, the route is
removed and IP forwarding turned off.
# Turn on/off IP forwarding.
+sysctl -w net.inet.ip.forwarding=1
-sysctl -w net.inet.ip.forwarding=0
net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2
SEE ALSO rc.conf(5), rc(8), route(8)BSD May 1, 2012 BSD