07-17-2008
Read out manual pages
route add default A.B.C.D should works. As soon as you fire this command, it immediately comes into effect. No need to bother any command for immediate effect as these commands talk directly to kernel over PF_ROUTE socket (rtnetlink in Linux). If you want to preserve this setting on reboot then simply add entry into "/etc/defaultrouter" (Solaris) or "/etc/sysconfig/network" (RedHat) file
10 More Discussions You Might Find Interesting
1. IP Networking
I am trying to network two solaris workstations(ultra sparc 5) at home. what shoud I use to build the one of workstations as a http and ftp server and to network with the other workstation?
(please explain to me in detail.. what kind of software or equipment do I need..)
Thanks
John (1 Reply)
Discussion started by: jung1975
1 Replies
2. Solaris
may i know what is the command for configure
new ip, subnet mask and gateway ??
thanks .. (3 Replies)
Discussion started by: Farbegas
3 Replies
3. Solaris
I have just installed Solaris 10 for x86. The install seemed to have worked fine, and I have configured my hostname and am able to login and do whatever. However, networking does not seem to have been installed. I have a router which assigns ip address via DHCP. I would have thought Solaris would... (5 Replies)
Discussion started by: Phobos
5 Replies
4. Solaris
Hi,
I got problem of Sun Solaris 8 routing.
IP of SunA is 10.16.64.164, and have routing table:
10.16.64.0 10.16.64.164 U 1 19236 bge1
10.6.0.0 10.6.0.3 U 1 16534 bge0
224.0.0.0 10.6.0.3 U 1 ... (4 Replies)
Discussion started by: milo
4 Replies
5. Solaris
I have a SUN ultra 5 machine running Solaris 6. it has two ethernet interfaces qe0 192.168.0.111 and qe1 192.168.1.111
the two subnets are 192.168.0.111 255.255.255.0
192.168.1.111 255.255.255.0
the specified routes are
add route -net 192.168.0.0 255.255.255.0 192.168.0.111
add route... (3 Replies)
Discussion started by: adol65
3 Replies
6. IP Networking
Hi all
Right, i need to admit Im c4p on networking. I hate it, always have, always will. Here's my problem
Ive got 3 hosts. A B and C. I need to directly contact host C from host A, but at the moment I have to ssh on to B, to then ssh on to C.
so, I need to set up host b, to forward... (3 Replies)
Discussion started by: sbk1972
3 Replies
7. Solaris
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.13.157.127 netmask ffffffc0 broadcast 10.135.151.191
ether 0:14:4f:a0:e3:3a
e1000g1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 8
inet 10.13.157.227 netmask ffffffc0... (3 Replies)
Discussion started by: sunnybee
3 Replies
8. Solaris
Hi,
I have installed two solaris boxes in an VM.
First box is 10-1
Has two interfaces and in connected briged to the lan an d connected internal to an virtual lan.
Second box is 10-2
Has one interface.
Now what I wanted to do is a setup so that 10-2 connects through 10-1 to the lan.... (3 Replies)
Discussion started by: jld
3 Replies
9. Solaris
Hello All,
Problem is that redundancy doesn't work, probably a routing issue I need to get sorted out When 172.29.11.x net is down, neither node3 nor node4 is trying 172.29.12.x network,The problem lies in network 172.29.13.x
if 172.29.11.x network is down, node3/node4 should route to... (6 Replies)
Discussion started by: nadeemahmed
6 Replies
10. IP Networking
Hello,
since a while, i have a very strange and frustrating network problem with my Huawei p6(Android 4.4.2). The ROM is "Omni Rom", i think - but it shouldn't matter.
The problem is: when i try to connect through wlan (i have no mobile internet), according to the network manager of android,... (1 Reply)
Discussion started by: Palindrom
1 Replies
LEARN ABOUT SUNOS
defaultrouter
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)