Persistent Route in leopard?
Hi I need to put some persistent routes on a MacBook Pro with Leopard, I managed to put roads through the terminal and go well, there is a problem that it has to be the root, so if you reboot the computer to lose routes to rerun the root, is there any way to make persistent routes with a normal user??
A greeting.
the team is on a LAN but the server when I log q is external and I need to plot routes.
Español:
Hola necesito poner unas rutas persistentes en un Macbook pro con Leopard, he conseguido meter rutas a traves del terminal y van bien, solo hay un problema que para hacerlo tiene que ser el root, con lo que si reinicio el equipo se pierden las rutas hasta que vuelva a ejecutar el root, hay alguna forma de hacer rutas persistentes con un usuario normal????
Un saludo.
PD: el equipo esta en un LAN pero el servidor al q me conecto es externo y necesito trazarle las rutas.
Unix forum:
http://discussions.apple.com/forum.jspa?forumID=735
Similar Messages
-
Persistant routes sometimes not working
This is the situation
We have a MSSQL cluster of 2 servers the SQL03A and SQL03B windows 2008 R2 enterprise on vmware 5.5
There are 2 persistant routes, they are for the backup:
10.64.67.171 255.255.255.255 10.37.4.30
10.64.67.169 255.255.255.255 10.37.4.29
Sometimes , one?s a month, the persistant route does not work and the backup wil not work.
We delete the persistant route and we make the persistant route again, than it wil work again.
What could be the problem?You need to use root print to list the available routes. When the problem gets reproduced again, please run it to see what are the available routes.
Also, you can double check that you are creating the routes properly. Here is an article about how to create persistent routes: http://www.itsyourip.com/networking/howto-add-persistent-static-routes-in-windows/comment-page-1/
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
Hi Folks,
need your help to solve a problem on My LYNC EDGE Server. I have a setup of LYNC Server 2010 infrastructure and I already have added persistent routes for all our subnets on EDGE server for internal facing LAN card using
route add command but after adding the route also whenever I removed the gateway from internal facing LAN card I am getting the problem in sharing desktop but if I add the the gateway in internal facing LAN card everything is working fine...
could someone help me to solve it out.
Regards Rishi AggarwalI am not 100% sure I understand which routes you have created, but you should have a default gateway configured on your external card to the internet and no default gateway on the internal card.
You should then create routes for each of your internal networks using netsh (or route add) through the internal edge gateway.
If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer" | Blog
www.lynced.com.au | Twitter
@imlynced -
Two persistent routes on one machine
Hello experts
in may workstations and server i have seen two Persistent Routes:
i have one gateway and i don't know why i have two persistent routes" it exist on windows 7,8,2012, on servers and on workstations, on virtual (on Hyper-V) and hardware.
i have deleted the routes and then add new one. after it show one. but it is in my all corporate network workstations and server. i don't know where from it? and what can i correct it?
what bad reasons can it bring ?in this example there is one network interface.
PS C:\Windows\system32> route print
===========================================================================
Interface List
15...00 15 5d c8 3d 39 ......Microsoft Hyper-V Network Adapter #3
1...........................Software Loopback Interface 1
13...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.200.1 192.168.200.77 261
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.200.0 255.255.255.0 On-link 192.168.200.77 261
192.168.200.77 255.255.255.255 On-link 192.168.200.77 261
192.168.200.255 255.255.255.255 On-link 192.168.200.77 261
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.200.77 261
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.200.77 261
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.200.1 Default
0.0.0.0 0.0.0.0 192.168.200.1 Default
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
1 306 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
PS C:\Windows\system32> -
Lync 2013 - EDGE (do you need static persistent routes - yes or no?)
Hi there.
Two edge servers in one edge pool.
Every edge server has 1 LAN IP, and three DMZ ips. There's only a gateway on DMZ nic.
Do you need to put static persistent routes or not?
bostjancNo, nothing like that. The routes would only be needed so the server knows how to get to additional subnets that it's not connected to. Since your default route is the Internet, the entire Internet is already covered. All you need is additional
internal subnets now.
For example, if you have another internal network that user's live on in a separate office with the IP
192.168.128.0 and the way for your server to get to it is to send packets to the router at 192.168.2.1 you'd want to add:
route add -p 192.168.128.0 mask 255.255.255.0 192.168.2.1
But you'd only add subnets you're not directly connected to and should be reached via the Internal NIC (not the External NIC which is covered by the default gateway).
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications
This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Persistent IP Routes in Mac OS X Tiger
Hello
I have a mac book Pro 10.4.8. I try to add static Routes, i was following this post
http://www.webboise.com/persistent-ip-routes-in-mac-os-x-tiger/
My problem is when after the reboot the rootes was deleted. I must launch directly the script on the Terminal
sudo SystemStarter start PersistentRoutes
Can you help Me ?
Thans Youto have the EXACT same name as the directory, so
/Library/StartupItems/static-routes/static-routes has
to have the same case sensitive name as
/Library/StartupItems/static-routes/ .
pc-mq-dsi3:~ root# ls -l /Library/StartupItems/
total 0
drwxr-xr-x 4 root wheel 136 Oct 15 13:17 CoreDuoTemp
drwxr-xr-x 4 root wheel 136 Jan 13 2005 OpenBase
drwxr-xr-x 4 root wheel 136 Dec 27 11:41 PersistentRoutes
pc-mq-dsi3:~ root# ls -l /Library/StartupItems/PersistentRoutes/
total 16
-rwxr-xr-x 1 root wheel 252 Dec 27 11:51 PersistentRoutes
-rwxr-xr-x 1 root wheel 501 Aug 24 00:52 StartupParameters.plist
pc-mq-dsi3:~ root#
it's correct ?
The script will be called with an argument of start,
so I'd recommend keeping the . /etc/rc.common command
and the StartService() framework.
pc-mq-dsi3:~ root# cat /Library/StartupItems/PersistentRoutes/PersistentRoutes
#!/bin/sh
. /etc/rc.common
ConsoleMessage "Adding Persistent IP Routes"
/sbin/route add 192.168.2.0/24 192.168.1.252
/sbin/route add 192.168.5.0/24 192.168.1.253
/sbin/route add 192.168.6.0/24 192.168.1.252
/sbin/route add 192.168.7.0/24 192.168.1.252
pc-mq-dsi3:~ root#
Always correct ?
The StartupParameters.plist file is a text file
rw-r--r-- (chmod 0644 StartupParameters.plist). It's
bracketed by { and }. The only two lines in mine
that look important are:
pc-mq-dsi3:~ root# cat /Library/StartupItems/PersistentRoutes/StartupParameters
.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Persistent Routes for VPN Tunnels</string>
<key>OrderPreference</key>
<string>Last</string>
<key>Provides</key>
<array>
<string>PersistentRoutes</string>
</array>
<key>Uses</key>
<array>
<string>Network</string>
<string>NetworkExtensions</string>
</array>
</dict>
</plist>
Mine is correct ?
If this stuff doesn't take care of it, could you post
the results of:
ls -l /Library/StartupItems | egrep static-routes
ls -l /Library/StartupItems/static-routes
cat
/Library/StartupItems/static-routes/static-routes
cat
/Library/StartupItems/static-routes/StartupParameters.
plist
pc-mq-dsi3:~ root# ls -l /Library/StartupItems | egrep PersistentRoutes
drwxr-xr-x 4 root wheel 136 Dec 27 11:41 PersistentRoutes
pc-mq-dsi3:~ root# ls -l /Library/StartupItems/PersistentRoutes/
total 16
-rwxr-xr-x 1 root wheel 252 Dec 27 11:51 PersistentRoutes
-rw-r--r-- 1 root wheel 501 Aug 24 00:52 StartupParameters.plist
pc-mq-dsi3:~ root# cat /Library/StartupItems/PersistentRoutes/StartupParameters
.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Persistent Routes for VPN Tunnels</string>
<key>OrderPreference</key>
<string>Last</string>
<key>Provides</key>
<array>
<string>PersistentRoutes</string>
</array>
<key>Uses</key>
<array>
<string>Network</string>
<string>NetworkExtensions</string>
</array>
</dict>
</plist>
pc-mq-dsi3:~ root# cat /Library/StartupItems/PersistentRoutes/PersistentRoutes
#!/bin/sh
. /etc/rc.common
ConsoleMessage "Adding Persistent IP Routes"
/sbin/route add 192.168.2.0/24 192.168.1.252
/sbin/route add 192.168.5.0/24 192.168.1.253
/sbin/route add 192.168.6.0/24 192.168.1.252
/sbin/route add 192.168.7.0/24 192.168.1.252
Thanks for your help
Bolo -
Windows Server 2012 R2 Routing problem
Hello everybody
I have the following problem:
Server with two NICS, one (IP 172.30.8.X) it's configure with a default gateway (172.30.8.1), the other one (IP 172.30.32.X) doesn't have a default gateway and has a static route to reach another network (172.15.28.X)
Everything was worning fine, no reboots, no updates installed; suddenly the specified route for the second NIC is not working. When we try to reach the 172.15.28.X network, it goes thorugh the default gateway. Please your help.
We tried deleting the route and re-add it again, but doesn't work; also verified the TCP/IP configuration on all NICs everything it's ok.
Here's an output of the configured routes on the server:
C:\Windows\system32>route print
===========================================================================
Interface List
12...9c b6 54 88 49 a8 ......HP FlexFabric 10Gb 2-port 534FLB Adapter #54
13...9c b6 54 88 49 ac ......HP FlexFabric 10Gb 2-port 534FLB Adapter #55
15...02 78 b2 0e 8f c0 ......Microsoft Failover Cluster Virtual Adapter
1...........................Software Loopback Interface 1
14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.30.8.1 172.30.8.107 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
169.254.0.0 255.255.0.0 On-link 169.254.4.217 261
169.254.4.217 255.255.255.255 On-link 169.254.4.217 261
169.254.255.255 255.255.255.255 On-link 169.254.4.217 261
172.15.28.0 255.255.254.0 172.30.32.1 172.30.8.107 11
172.30.8.0 255.255.254.0 On-link 172.30.8.107 266
172.30.8.107 255.255.255.255 On-link 172.30.8.107 266
172.30.9.255 255.255.255.255 On-link 172.30.8.107 266
172.30.32.0 255.255.254.0 On-link 172.30.32.20 266
172.30.32.20 255.255.255.255 On-link 172.30.32.20 266
172.30.33.255 255.255.255.255 On-link 172.30.32.20 266
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 169.254.4.217 261
224.0.0.0 240.0.0.0 On-link 172.30.8.107 266
224.0.0.0 240.0.0.0 On-link 172.30.32.20 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 169.254.4.217 261
255.255.255.255 255.255.255.255 On-link 172.30.8.107 266
255.255.255.255 255.255.255.255 On-link 172.30.32.20 266
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 172.30.8.1 Default
172.15.28.0 255.255.254.0 172.30.32.1 1
===========================================================================
Below is the output of a tracert:
C:\Windows\system32>tracert 172.15.28.20
Tracing route to 172.15.28.20 over a maximum of 30 hops
1 <1 ms <1 ms <1 ms 172.30.8.1
2 <1 ms <1 ms <1 ms 172.16.80.1
3 1 ms 1 ms 1 ms 10.11.17.193
Any idea is welcome, thanks in advance.
Regards. Cristian V.Hello Eve
Sorry for the delay, we opened a PSS case.
So far, the problems seems to be a misconfiguration on one of the devices.
This is the last output, as soon as we identify the issue and the problem, I'll let you know:
On server UIOMATRP-EXMB01 the route was added succesfully:
route add 172.30.32.0 mask 255.255.255.0 172.15.28.1
C:\Windows\system32>route add 172.30.32.0 mask 255.255.255.0 172.15.28.1
OK!
C:\Windows\system32>tracert 172.30.32.21
Tracing route to 172.30.32.21 over a maximum of 30 hops
1 5 ms 2 ms 2 ms 172.15.28.1
2 <1 ms <1 ms <1 ms 10.6.1.3
3 1 ms <1 ms <1 ms 10.5.1.3
4 1 ms 1 ms 1 ms 10.21.17.65
5 3 ms 5 ms 9 ms 10.201.21.22
6 9 ms 9 ms 8 ms 10.201.111.97
7 9 ms 19 ms 8 ms 10.11.17.193
8 8 ms 8 ms 8 ms 172.16.80.3
9 * * * Request timed out.
10 * * * Request timed out.
11 * ^C
C:\Windows\system32>route delete 172.30.32.0
OK!
C:\Windows\system32>tracert 172.30.32.21
Tracing route to 172.30.32.21 over a maximum of 30 hops
1 1 ms 1 ms 1 ms 172.15.4.1
2 <1 ms <1 ms <1 ms ^C
route add 172.30.32.0 mask 255.255.255.0 172.15.28.1 -p
OK!
C:\Windows\system32>tracert 172.30.32.21
Tracing route to 172.30.32.21 over a maximum of 30 hops
1 4 ms 2 ms 1 ms 172.15.28.1
2 <1 ms <1 ms <1 ms 10.6.1.3
3 1 ms <1 ms <1 ms 10.5.1.3
4 1 ms 1 ms <1 ms 10.21.17.65
5 5 ms 4 ms 9 ms 10.201.21.22
6 7 ms 7 ms 7 ms 10.116.41.197
7 9 ms 207 ms 9 ms 10.116.41.198
8 9 ms 8 ms 9 ms 10.11.17.194
9 9 ms * 10 ms 172.16.80.3
10 * * * Request timed out.
11 *
===========================================================================
Interface List
17...9c b6 54 93 fd d8 ......HP FlexFabric 10Gb 2-port 534FLB Adapter #76
16...9c b6 54 93 fd dc ......HP FlexFabric 10Gb 2-port 534FLB Adapter #77
15...02 fa 66 6d 81 b1 ......Microsoft Failover Cluster Virtual Adapter
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
13...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
14...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
18...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.15.4.1 172.15.5.38 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
169.254.0.0 255.255.0.0 On-link 169.254.1.233 261
169.254.1.233 255.255.255.255 On-link 169.254.1.233 261
169.254.255.255 255.255.255.255 On-link 169.254.1.233 261
172.15.4.0 255.255.254.0 On-link 172.15.5.38 266
172.15.5.38 255.255.255.255 On-link 172.15.5.38 266
172.15.5.255 255.255.255.255 On-link 172.15.5.38 266
172.15.28.0 255.255.254.0 On-link 172.15.28.20 266
172.15.28.20 255.255.255.255 On-link 172.15.28.20 266
172.15.29.255 255.255.255.255 On-link 172.15.28.20 266
172.30.32.0 255.255.255.0 172.15.28.1 172.15.28.20 11
---------------------------à route successfully applied
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 169.254.1.233 261
224.0.0.0 240.0.0.0 On-link 172.15.28.20 266
224.0.0.0 240.0.0.0 On-link 172.15.5.38 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 169.254.1.233 261
255.255.255.255 255.255.255.255 On-link 172.15.28.20 266
255.255.255.255 255.255.255.255 On-link 172.15.5.38 266
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 172.15.4.1 Default
172.30.32.0 255.255.255.0 172.15.28.1 1
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
14 1010 2002::/16 On-link
14 266 2002:ac0f:526::ac0f:526/128
On-link
14 266 2002:ac0f:1c14::ac0f:1c14/128
On-link
15 261 fe80::/64 On-link
15 261 fe80::7439:c10d:c470:c569/128
On-link
1 306 ff00::/8 On-link
15 261 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
--- ARP
Interface: 169.254.1.233 --- 0xf
Internet Address Physical Address Type
169.254.255.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.252 01-00-5e-00-00-fc static
Interface: 172.15.5.38 --- 0x10
Internet Address Physical Address Type
172.15.4.1 00-08-e3-ff-fd-90 dynamic ---------------à
default gateway
172.15.4.41 00-50-56-88-50-71 dynamic
172.15.4.42 ac-16-2d-78-0c-5c dynamic
172.15.4.52 00-08-02-b0-49-17 dynamic
172.15.4.55 00-50-56-bd-72-f0 dynamic
172.15.4.56 00-50-56-ab-00-16 dynamic
172.15.5.33 00-50-56-88-11-4a dynamic
172.15.5.34 00-50-56-88-6d-14 dynamic
172.15.5.35 fc-15-b4-1c-05-20 dynamic
172.15.5.36 fc-15-b4-1c-34-a4 dynamic
172.15.5.39 f0-92-1c-02-c8-5c dynamic
172.15.5.41 fc-15-b4-1c-69-64 dynamic
172.15.5.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.252 01-00-5e-00-00-fc static
225.0.0.1 01-00-5e-00-00-01 static
Interface: 172.15.28.20 --- 0x11
Internet Address Physical Address Type
172.15.28.1 00-08-e3-ff-fd-90 dynamic
172.15.28.21 f0-92-1c-02-c8-58 dynamic
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.252 01-00-5e-00-00-fc static
225.0.0.1 01-00-5e-00-00-01 static
Before, there was an error on routes applied on server UIOMATRP-EXMB01:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.15.4.1 172.15.5.38 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
169.254.0.0 255.255.0.0 On-link 169.254.1.11 261
169.254.1.11 255.255.255.255 On-link 169.254.1.11 261
169.254.255.255 255.255.255.255 On-link 169.254.1.11 261
172.15.4.0 255.255.254.0 On-link 172.15.5.38 266
172.15.5.38 255.255.255.255 On-link 172.15.5.38 266
172.15.5.255 255.255.255.255 On-link 172.15.5.38 266
172.15.28.0 255.255.254.0 On-link 172.15.28.20 266
172.15.28.20 255.255.255.255 On-link 172.15.28.20 266
172.15.29.255 255.255.255.255 On-link 172.15.28.20 266
172.30.32.0 255.255.254.0 172.15.28.1 172.15.5.38 11 -------------------Error
172.30.32.0 255.255.254.0 172.15.28.1 172.15.28.20 11
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 169.254.1.11 261
224.0.0.0 240.0.0.0 On-link 172.15.28.20 266
224.0.0.0 240.0.0.0 On-link 172.15.5.38 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 169.254.1.11 261
255.255.255.255 255.255.255.255 On-link 172.15.28.20 266
255.255.255.255 255.255.255.255 On-link 172.15.5.38 266
EOOn the second server
GYESITEA-EXMB02, the network is not reachable:
C:\Windows\system32>route add 172.15.28.20 mask 255.255.255.255 172.30.32.1 if 13 -----à the
route was forced with the nic index 13 to the IP address 172.15.28.20
OK!
C:\Windows\system32>route print
===========================================================================
interface List
13...9c b6 54 93 fd 7c ......HP FlexFabric 10Gb 2-port 534FLB Adapter #59
12...9c b6 54 93 fd 78 ......HP FlexFabric 10Gb 2-port 534FLB Adapter #58
16...02 ce fe 26 83 9f ......Microsoft Failover Cluster Virtual Adapter
1...........................Software Loopback Interface 1
14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.30.8.1 172.30.8.108 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
169.254.0.0 255.255.0.0 On-link 169.254.3.180 261
169.254.3.180 255.255.255.255 On-link 169.254.3.180 261
169.254.255.255 255.255.255.255 On-link 169.254.3.180 261
172.15.28.20 255.255.255.255 172.30.32.1 172.30.32.21 11 --------------route forced and applied
172.30.8.0 255.255.254.0 On-link 172.30.8.108 266
172.30.8.108 255.255.255.255 On-link 172.30.8.108 266
172.30.9.255 255.255.255.255 On-link 172.30.8.108 266
172.30.32.0 255.255.254.0 On-link 172.30.32.21 266
172.30.32.21 255.255.255.255 On-link 172.30.32.21 266
172.30.33.255 255.255.255.255 On-link 172.30.32.21 266
224.0.0.0 240.0.0.0 On-link 127.0.0.1
306
224.0.0.0 240.0.0.0 On-link 169.254.3.180 261
224.0.0.0 240.0.0.0 On-link 172.30.8.108 266
224.0.0.0 240.0.0.0 On-link 172.30.32.21 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 169.254.3.180 261
255.255.255.255 255.255.255.255 On-link 172.30.8.108 266
255.255.255.255 255.255.255.255 On-link 172.30.32.21 266
===========================================================================
C:\Windows\system32>tracert 172.15.28.20
Tracing route to 172.15.28.20 over a maximum of 30 hops
1 General failure.
Trace complete.
C:\Windows\system32>tracert 172.15.28.20
Tracing route to 172.15.28.20 over a maximum of 30 hops
1 GYESITEA-EXMB02.xxxxxxxxxx [172.30.32.21] reports: Destination host
unreachable.
Trace complete.
Regards. Cristian V. -
Using the 'route print' Command in Windows 7 - Detailed Screen Captures
The 'route print' Command from an Administrative Command Prompt in Windows 7 provides a variety of useful information. Let's take a look at the output of a 'route print' Command to examine how the output data is grouped and to understand its logic.
Let's begin by simply issuing the following command:
route print
An Administrative Command Prompt output shows the following the following sections of the Command Output:
Figure 1 - Issuing the 'route print' Command from an Administrative Command Prompt in Windows 7
Observing the output of the Command indicates there are 5 Major Sections. The Sections include:
Interface List
IPv4 Route Table
IPv4 Persistent Routes
IPv6 Route Table
IPv6 Persistent Routes
On this Workstation a single Physical Network Interface is visible and has been assigned a DHCP Address of '10.1.1.36'.
The IP Stack for this Workstation is as follows:
IP Address: 10.1.1.36
Subnet Mask: 255.255.255.0
Default Gateway: 10.1.1.1
DNS Server: 10.1.1.1
DHCP Server: 10.1.1.1
DNS Suffix: YYY.YYY.isp-provider.net
Most of the time our focus is upon the IPv4 Routing Table output. Here are the sections of the IPv4 Routing Table output for reference.
Figure 2 - The IPv4 Route Table output listing the 'all networks' route through the Default Gateway.
The next IPv4 Routing Table entry indicates '10.1.1.36' (the Host Workstation' is a member of the '10.1.1.1/24' Network and would route packets out the '10.1.1.36' Interface.
Figure 3 - The Workstation Host at '10.1.1.36' is a member of the '10.1.1.0/24' Network Subnet.
The next IPv4 Routing Table entry indicates '10.1.1.36' may receive a Broadcast from the '10.1.1.0/24' Network (as noted by the Subnet Mask of '255.255.255.255').
Figure 4 - The Workstation Host at '10.1.1.36' can offer a Broadcast on the '10.1.1.0/24 Network' (as noted by the 255.255.255.255 Subnet Mask).
Another IPv4 Routing Table entry focused on Broadcast Addresses is the following. The Host Workstation at '10.1.1.36' may offer Network Broadcasts to the '10.1.1.0/24' Network.
Figure 5 - The Workstation Host at '10.1.1.36' can receive Network Broadcasts from the '10.1.1.0/24' Network (as noted by the '10.1.1.255' Network Destination).
The next IPv4 Routing Table entries (3 of them) are focused on the Loopback Network Values of '127.0.0.0/8', '127.0.0.1/32' and the Loopback Network Address of '127.255.255.255/32' respectively. These Addresses provide Services to the Local Host (or Loopback Adapter). The Loopback Network Destination of '127.0.0.0' provides access to the Loopback Network through '127.0.0.1' the Loopback IP Address. The Loopback IP Address of '127.0.0.1/32' receives Limited Local Broadcast to the Loopback Network while the Loopback IP Address of '127.255.255.255/32' provides Limited Broadcast to the Loopback Network.
Figure 6 - The Workstation Host at '10.1.1.36' uses 3 Addresses for Services to the 'Local Host'. All 3 Addresses incorporate the '127.x.x.x' format.
Next the Routing Table includes 2 specific entries for the Multicast Network (224.0.0.0/4) for both the 'Local Host' or Loopback Address of '127.0.0.1' and the Host IP Address of '10.1.1.36' that are '224.0.0.0/4' . These are used for Multicast Network functions.
Figure 7 - The Workstation Host at '10.1.1.36' includes 2 Multicast Addresses (starting with '240.0.0.0') reserved for use through either the Loopback Address '127.0.0.1' or the Host IP Address '10.1.1.36'.
The last 2 Routing Table entries provides Services through Limited Broadcast Addresses. The Network Destination of '255.255.255.255/32' are the Limited Broadcast Address Ranges for both the Loopback Adapter '127.0.0.1' and the Host IP Address '10.1.1.36'.
Figure 8 - The Workstation Host at '10.1.1.36' includes 2 Limited Broadcast IP Address Values to Service both the Loopback Network '127.0.0.1' and the Host IP Network '10.1.1.36'.
Finally, upon understanding the sections of the Windows 7 Routing Table there are additional functions available when using the 'route' Command. This Blog entry is focused solely on output from the 'route print' Command.
Summary: In this Blog entry focused on using the 'route print' Command from an Administrative Command Prompt in Windows 7. Each of the defined routes for a Workstation running Windows 7 Enterprise were reviewed for reference.
Lynn Lunik
Chief Security Architect
IT Pro Secure Corporation
and exchangesummit.net
blog <at> itprosecure.comI thought, it is my browser issues of not seeing the images.
but as seen on the other comments, this not in my browser case.
Can someone check on this and repost the images if needed? -
I get a lag when I try to SSH to our server. I've been searching around and there were a bunch of SSH/DNS problems early in Leopard's lifetime. How have they not fixed this? I'm running 10.5.8.
I found this thread on this forum. This is the response that helped me:
*Re: Upgraded to leopard and now ssh is HORRIBLY slow*
*Posted: Nov 2, 2007 12:56 PM in response to: davshirley *
*ok. it is slow if my /etc/resolve.conf contains what dhcp is putting there:*
*nameserver 192.168.15.1*
*If I add two nameservers that I control and allow recursion from my location I get fast connections:*
*nameserver 67.131.250.9*
*nameserver 67.131.250.12*
*nameserver 192.168.15.1*
*Now here's the interesting part:*
*The two nameservers that I am adding to /etc/resolve.conf are the VERY SAME nameservers that my router at 192.168.15.1 is set to use and assign for all dhcp clients. This suggests to me that there is a bug in how ssh handles dns lookups since the first /etc/resolve.conf should work (and does work fine in 10.4)*
HOWEVER, all that works is removing the DNSs from the list. That allows me to SSH right in. No lag. But then I get no internet. If there are DNSs in the list, I get slow SSH but I get internet.
Any ideas? Is the problem my router or Leopard itself?Hi all,
Not sure if this is related or not, but I am having problems with ssh hanging after a password is entered. The hang is interminable - I will come back tens of minutes later and it will still be hanging.
My machine is usually connected wirelessly to either a network on campus or at home.
Here is a typical output from ssh -v:
fi221-215:~/.ssh] ericperlman% ssh -v [email protected]
OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to yoda.astro.fit.edu [163.118.205.171] port 22.
debug1: Connection established.
debug1: identity file /Users/ericperlman/.ssh/identity type -1
debug1: identity file /Users/ericperlman/.ssh/id_rsa type -1
debug1: identity file /Users/ericperlman/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1
debug1: SSH2MSGKEXINIT sent
debug1: SSH2MSGKEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2MSG_KEX_DH_GEXGROUP
debug1: SSH2MSG_KEX_DH_GEXINIT sent
debug1: expecting SSH2MSG_KEX_DH_GEXREPLY
debug1: Host 'yoda.astro.fit.edu' is known and matches the RSA host key.
debug1: Found key in /Users/ericperlman/.ssh/known_hosts:1
debug1: sshrsaverify: signature correct
debug1: SSH2MSGNEWKEYS sent
debug1: expecting SSH2MSGNEWKEYS
debug1: SSH2MSGNEWKEYS received
debug1: SSH2MSG_SERVICEREQUEST sent
debug1: SSH2MSG_SERVICEACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/ericperlman/.ssh/identity
debug1: Trying private key: /Users/ericperlman/.ssh/id_rsa
debug1: Offering public key: /Users/ericperlman/.ssh/id_dsa
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: password
[email protected]'s password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
debug1: Entering interactive session.
I seem to remember that one used to be able to solve this problem by deleting the known_hosts file in .ssh. I have tried this and it did nothing.
Does anyone have any ideas? -
Add routes remotely Via Powershell
I have csv file that contains computer name and defaultipgateway i need to add the routes on this servre but i am receiving error while doing it remotely below is my script
$ADDs = Import-Csv .\gateway2.csv
foreach ($add in $adds) {
$computer =$add.name
$gateway = $add.DefaultipGateway
Write-Output "working on $computer in $gateway"
Invoke-Command -ComputerName $computer -ScriptBlock {route add -p 22.175.0.0 mask 254.246.0.0 $gateway; route print}
Th error is below
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Manipulates network routing tables.
ROUTE [-f] [-p] [-4|-6] command [destination]
[MASK netmask] [gateway] [METRIC metric] [IF interface]
-f Clears the routing tables of all gateway entries. If this is
used in conjunction with one of the commands, the tables are
cleared prior to running the command.
-p When used with the ADD command, makes a route persistent across
boots of the system. By default, routes are not preserved
when the system is restarted. Ignored for all other commands,
which always affect the appropriate persistent routes. This
option is not supported in Windows 95.
-4 Force using IPv4.
-6 Force using IPv6.Thanks for the reply it worked with little modification i specified CSV path directly instead of using split
i have few question what is the use of split-path and $pscommandoath parameter why do we use args [0].once again thanks for the help
below is the script
$FileData = Import-Csv -Path excel.csv
$Object = @()
Foreach ($Entry in $FileData) {
$Object += New-Object PSObject -Property @{
Name = $Entry.Name
Gateway = $Entry.DefaultipGateway
Foreach ($Obj in $Object) {
Invoke-Command -ComputerName $Obj.Name -ScriptBlock {
Write-Output -Verbose $env:COMPUTERNAME
Write-Output -Verbose $args[0]
#route add -p 25.175.0.0 mask 255.246.0.0 $args[0]
#route print
} -ArgumentList $Obj.Gateway -
HOW TO INSTALL ROUTING IN SOLARIS 10
I have already installed my Solaris 10 Server, I was tryin to implement the routing in the file /etc/init.d/inetsvc (/etc/rc2.d/S98inetsvc) as in Solaris 8.
!! this file does not exists!!
How install routings in Solaris 10 6/06 ??
thanksI have already installed my Solaris 10 Server, I was
tryin to implement the routing in the file
/etc/init.d/inetsvc (/etc/rc2.d/S98inetsvc) as in
Solaris 8.
!! this file does not exists!!
How install routings in Solaris 10 6/06 ??It depends on what your routing script does. Solaris 10 introduces persistent routing, so you may just need to add the route once (persistently), then let the system take care of it.
Darren -
AD authentication for routed local subnet
Good day,
I'm testing the addition of a routed local subnet to existing network and seem to be experiencing trouble with AD authentication.
Primary network:
Subnet: 192.168.0.0/24
Default GW: 192.168.0.1
PDC/DHCP/DNS1: 192.168.0.2
BDC/DNS2: 192.168.0.3
Routed network:
Subnet: 192.168.17.0/24
Default GW: 192.168.17.1
DNS1/2: 192.168.0.2/192.168.0.3
DHCP relay is configured and functioning.
Primary network gateway has persistent route for subnet 192.168.17.0/24 hopping via router IP 192.168.0.122.
Ping tests OK both ways and internet is browsable from clients in routed network.
Problem occurs when clients in routed network attempt to access domain resources in primary network. Using
net view //test-host results in 5 minute pause and then "Access Denied". Unable to view //test-domain/netlogon
I have added routed subnet to existing default-first-site in AD Sites and Services.
I'm certain I'm missing something simple here and will appreciate any advice.Hi Christoffer, thanks for your reply.
There are no firewall rules active between the two subnets, however our primary network gateway is a Forefront TMG MBE firewall. To my knowledge this should not interfere with the inter-subnet routing however there could be access/policy rules that determine
how TMG (localhost) responds to traffic from routed subnet. Will need to look closely at this if AD authentication is not at fault.
The nltest queries also seem return successful responses:
nltest /dsgetdc:[DOMAIN]
DC: \\[PDC]
Address: \\192.168.0.2
Dom Guid: [GUID]
Dom Name: [DOMAIN]
Forest Name: [FOREST]
Dc Site Name: Default-First-Site-Name
Our Site Name: Default-First-Site-Name
Flags: PDC GC DS LDAP KDC TIMESERV GTIMESERV WRITABLE DNS_FOREST CLOSE_SITE FULL_SECRET
nltest /dsgetsite
Default-First-Site-Name -
I would like to know how to implement an static routing in Solarios 10.
In solaris 8 I usually write the route in the file /etc/rc2.d/S98inetsvc.
But this file does not exists in Solaris 10.
helpme pleaseI would like to know how to implement an static
routing in Solarios 10.
In solaris 8 I usually write the route in the file
/etc/rc2.d/S98inetsvc.
But this file does not exists in Solaris 10.
helpme pleaseYou could do the same thing in Solaris 10, but you probably don't have to.
Solaris 10 has persistent routes. Just set them up and mark them persistent.
Darren -
Routing and Remote access - internal network not accessing internet through public network!
Hello,
Good Evening to all.
I got an issue in routing and remote access on windows 2003 server. This server is already configured as File server, domain server and Application server. Also configured as router (through routing & remote access) for connecting three different
network to each other. So This server has three NIC card installed and each NIC card represent separate network.
three different network are - 192.42.160.0/24 , 192.42.161.0/24, 192.42.162.0/24
Three NIC card installed on server as with following IP address -
NIC -1 = 192.42.160.220 , Sub- 255.255.255.0 , Gateway - NO
NIC -2 = 192.42.161.220 , Sub- 255.255.255.0 , Gateway - 192.161.220.112 (This ip for internet access so 4g router IP)
NIC -3 = 192.42.162.220, , Sub- 255.255.255.0 , Gateway - NO
Now the issue is I can reach to internet & (also pinging to router ip 192.42.161.112) from only one network that is - 192.42.161.0/24 , BUT when I trying to access internet from another two network (192.42.160.0/24 & 192.42.162.0/24) I cant access
it and moreover can't ping to internet router ip - 192.42.161.112...
So how I can access to internet from other two network also?
I was already configured static routing for all three network but still I was not success. really I don't know what exactly static routing it should be done in routing & remote access so that all three network can reach to internet?
Sorry if I am not able to explain properly. Please let me know if you need more explain on this...
Thanks to all.Dear Milos,
I am happy to hear from you....
1.- Actually the setup was done long before by another guy and right now I don't want to change it.
Nice to hear from you! Thank you so much. Actually this is first time I am using technet forum upon the suggestion from one of the my friend. So any your help from you will help me a great in this issue...
I ran the route print command and given follow are the results.
I have only added the default route as per the below routes. Please guide me know how to add other static routes for three network.
D:\Documents and Settings\Administrator>route print
IPv4 Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 30 05 ad 8f 5c ...... Broadcom NetXtreme Gigabit Ethernet - Teefer2 Mi
niport
0x3 ...00 0e 0c a7 c4 f8 ...... Intel(R) PRO/1000 GT Desktop Adapter - Teefer2 M
iniport
0x4 ...00 0e 0c a7 c5 85 ...... Intel(R) PRO/1000 GT Desktop Adapter #2 - Teefer
2 Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.42.161.112 192.42.161.220 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.42.160.0 255.255.255.0 192.42.160.220 192.42.160.220 20
192.42.160.220 255.255.255.255 127.0.0.1 127.0.0.1 20
192.42.160.255 255.255.255.255 192.42.160.220 192.42.160.220 20
192.42.161.0 255.255.255.0 192.42.161.220 192.42.161.220 20
192.42.161.220 255.255.255.255 127.0.0.1 127.0.0.1 20
192.42.161.255 255.255.255.255 192.42.161.220 192.42.161.220 20
192.42.162.0 255.255.255.0 192.42.162.220 192.42.162.220 20
192.42.162.220 255.255.255.255 127.0.0.1 127.0.0.1 20
192.42.162.255 255.255.255.255 192.42.162.220 192.42.162.220 20
224.0.0.0 240.0.0.0 192.42.160.220 192.42.160.220 20
224.0.0.0 240.0.0.0 192.42.161.220 192.42.161.220 20
224.0.0.0 240.0.0.0 192.42.162.220 192.42.162.220 20
255.255.255.255 255.255.255.255 192.42.160.220 192.42.160.220 1
255.255.255.255 255.255.255.255 192.42.161.220 192.42.161.220 1
255.255.255.255 255.255.255.255 192.42.162.220 192.42.162.220 1
Default Gateway: 192.42.161.112
===========================================================================
Persistent Routes:
None
Regards & Thanks
Mahesh -
Simple lan to lan routing (not working)
I have created a RRAS LAN only router on windows 2008 R2
segment 1
172.16.0.0 network
172.16.16.20 gateway
255.255.0.0 subnet
segment 2
10.0.0.0 network
10.0.0.1 gateway
255.0.0.0 subnet
RRAS interface A 172.16.16.20
RRAS interface B 10.0.0.1
i installed rip 2 protocol
still client cant ping hosts on the opposite network, any idea what i may be doing wrong ?
regards
Faisal Gillaniroute print does not give you any clue?
any VLANs (manage switches) configured on the network?
Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
No no VLAN present
Here is my routing print , this si a VM based windows server which have two nic, each connected to diffrent lan's i have a feeling this is going to be something very basic which i am doing wrong :-)
IPv4 Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 15 5d 10 10 04 ...... Microsoft Hyper-V Network Adapter #2
0x10004 ...00 15 5d 10 10 03 ...... Microsoft Hyper-V Network Adapter
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
10.0.0.0 255.0.0.0 10.0.0.1 10.0.0.1 10
10.0.0.1 255.255.255.255 127.0.0.1 127.0.0.1 10
10.255.255.255 255.255.255.255 10.0.0.1 10.0.0.1 10
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.16.0.0 255.255.0.0 172.16.16.20 172.16.16.20 10
172.16.16.20 255.255.255.255 127.0.0.1 127.0.0.1 10
172.16.255.255 255.255.255.255 172.16.16.20 172.16.16.20 10
224.0.0.0 240.0.0.0 10.0.0.1 10.0.0.1 10
224.0.0.0 240.0.0.0 172.16.16.20 172.16.16.20 10
255.255.255.255 255.255.255.255 10.0.0.1 10.0.0.1 1
255.255.255.255 255.255.255.255 172.16.16.20 172.16.16.20 1
===========================================================================
Persistent Routes:
None
thanks in advance :-)
Maybe you are looking for
-
How do I add songs to my shared music list?
I am running a dual hard disk nas which has a built in "iTunes Server" function. I have enabled this and when I launch iTunes I can see "Nas Music Box" under my "shared" area but it is blank. Can anyone tell me how I add my music to the music box? At
-
Hello, This morning i woke up to find a new app on my ipod. It was a foreign app, with asian characters. Plus an email stating my account had been access from an unathorise computer. I reset my password immidiatly. Recently about 5 minutes ago, a $20
-
Software Update can't connect to server -- error
I have Tiger 10.4.7 on a 600mH white G3 dual USB iBook. When I try to use the SoftwareUpdate function off the Apple Menu to check for any updates to Tiger, the "checking for new software" window starts up all right but immediately the error message w
-
Fails to burn - not including files!!
Hello there, I'm in the process of trying to burn two DVD's I've created. They build fine but when they go to format they always fail. In the log window it comes up with multiple errors such as this: Warning: The directory "/Volumes/ANNADRIANACACIA/F
-
Hi, I need help we are planning to upgrade our R3 to ECC 6.0 and our first step is to create a 4.6C Development system to support the 4.6C Production system. We did a copy of our Production system and configure our transport system and now we cannot