Sponsored Content
Full Discussion: default gateway in unix?
Special Forums IP Networking default gateway in unix? Post 70753 by zazzybob on Tuesday 3rd of May 2005 06:17:47 PM
Old 05-03-2005
You can check the default gateway by using the netstat -r command - have a look for a route with destination "default" or "0.0.0.0". You can then add the route if necessary using the route command (man route for info).

Please let us know which OS you're using, as different OS's require different files to be edited to make routing tables persistent across reboots, etc

Cheers
ZB
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Modifying IP Address/Gateway/Subnet in SCO Unix

Hi, I'm new to unix and have absolutely no experience with it. I am trying to change the network setting on the only computer on our network with SCO Unix. We switched ISP's and now have a new set of IP's. I can't for the life of me figure out how to go in and change these settings, please help.... (12 Replies)
Discussion started by: PBNOSGT
12 Replies

2. HP-UX

How to add another default gateway

I am using HP-UX 11i and I need to add another default gateway. how can I do that ? (3 Replies)
Discussion started by: salhoub
3 Replies

3. UNIX for Dummies Questions & Answers

Unix Gateway Config

Hello: I'm new to unix and need to know if my unix server has the network configuration configured correctly. I need to add a gateway and don't know how to. Any help. Thx. George (6 Replies)
Discussion started by: projectit
6 Replies

4. AIX

Help with Default Gateway

Hi, I have two interfaces on m AIX 5.3 box. One going to 192.168.1.x and it has a gateway of 192.168.1.1. I configured the other gateway with 192.168.2.x and the default gateway as 192.168.2.1. But I can't get connectivity to the 192.168.2.1 network. Can someone help me out and let me know... (7 Replies)
Discussion started by: bbbngowc
7 Replies

5. HP-UX

where can i modify default gateway

where in configuration files can i modify default gateway in hp-ux11iv3 (5 Replies)
Discussion started by: h@foorsa.biz
5 Replies

6. Linux

GNUGK-How to setup static gateway to gateway routing

Dear Sir I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper. I am having a problem, configuring static call routing on GNUGK in the section ... (0 Replies)
Discussion started by: mfondoum
0 Replies

7. UNIX for Dummies Questions & Answers

Cannot ping default gateway

I have NCR MP-RAS unix. I have been trying for several months to get our network working since we had never used it before. I have setup all routes that I can think of. I know it has something to do with the routing table, because out of sheer luck I was able to get it working, and than like a... (4 Replies)
Discussion started by: Rutgerncas
4 Replies

8. Red Hat

Can not ping default gateway

Hi, Here is the issue: There are 2 identical systems in the same subnet here. They can ping and ssh each other. One can ping the default gateway and one can not with error '... icmp_seq Destination Host Unreachable'. I can't find any difference between the two systems in terms of network... (4 Replies)
Discussion started by: aixlover
4 Replies

9. IP Networking

Default Gateway

I am am using IPv6 IP's with an OS of Debian. Is it possible to set a *static* default gateway w/o the router being connected? Will that gateway change when the router is connected? TIA (0 Replies)
Discussion started by: Meow613
0 Replies

10. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies
MRINFO(8)						      System Manager's Manual							 MRINFO(8)

NAME
mrinfo - Displays configuration info from a multicast router SYNOPSIS
/usr/sbin/mrinfo [ -d debug_level ] [ -r retry_count ] [ -t timeout_count ] multicast_router DESCRIPTION
mrinfo attempts to display the configuration information from the multicast router multicast_router. mrinfo uses the ASK_NEIGHBORS IGMP message to the specified multicast router. If this multicast router responds, the version number and a list of their neighboring multicast router addresses is part of that response. If the responding router has a recent multicast version num- ber, then mrinfo requests additional information such as metrics, thresholds, and flags from the multicast router. Once the specified mul- ticast router responds, the configuration is displayed to the standard output. INVOCATION
"-d" option sets the debug level. When the debug level is greater than the default value of 0, addition debugging messages are printed. Regardless of the debug level, an error condition, will always write an error message and will cause mrinfo to terminate. Non-zero debug levels have the following effects: level 1 packet warnings are printed to stderr. level 2 all level 1 messages plus notifications down networks are printed to stderr. level 3 all level 2 messages plus notifications of all packet timeouts are printed to stderr. "-r retry_count" sets the neighbor query retry limit. Default is 3 retry. "-t timeout_count" sets the number of seconds to wait for a neighbor query reply. Default timeout is 4 seconds. SAMPLE OUTPUT
mrinfo mbone.phony.dom.net 127.148.176.10 (mbone.phony.dom.net) [version 3.3]: 127.148.176.10 - 0.0.0.0 (?) [1/1/querier] 127.148.176.10 - 127.0.8.4 (mbone2.phony.dom.net) [1/45/tunnel] 127.148.176.10 - 105.1.41.9 (momoney.com) [1/32/tunnel/down] 127.148.176.10 - 143.192.152.119 (mbone.dipu.edu) [1/32/tunnel] For each neighbor of the queried multicast router, the IP of the queried router is displayed, followed by the IP and name of the neighbor. In square brackets the metric (cost of connection), the threshold (multicast ttl) is displayed. If the queried multicast router has a newer version number, the type (tunnel, srcrt) and status (disabled, down) of the connection is displayed. IMPORTANT NOTE
mrinfo must be run as root. SEE ALSO
mrouted(8), map-mbone(8), mtrace(8) AUTHOR
Van Jacobson 4.2 Berkeley Distribution MRINFO(8)
All times are GMT -4. The time now is 04:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy