route to: default
destination: default
mask: default
gateway: 192.168.168.2
interface: e1000g0:1
flags:
recvpipe sendpipe ssthresh rtt,ms rttvar,ms hopcount mtu expire
0 0 0 0 0 0 1500 0
root@sol3 # ifconfig -a
lo0: flags=2001000849
inet 127.0.0.1 netmask ff000000
e1000g0: flags=9040843
inet 192.168.168.31 netmask ffffff00 broadcast 192.168.168.255
groupname prodgr
ether 0:c:29:20:e6:9
e1000g0:1: flags=1000843
inet 192.168.168.41 netmask ffffff00 broadcast 192.168.168.255
e1000g0:2: flags=1000843
inet 192.168.168.51 netmask ffffff00 broadcast 192.168.168.255
e1000g1: flags=69040843
inet 192.168.168.32 netmask ffffff00 broadcast 192.168.168.255
groupname prodgr
ether 0:c:29:20:e6:13
root@sol3 # route delete default 192.168.168.2
delete net default: gateway 192.168.168.2
root@sol3 #
root@sol3 # route add default 192.168.168.2 -setsrc 192.168.168.51
add net default: gateway 192.168.168.2
root@sol3 # route get default
route to: default
destination: default
mask: default
gateway: 192.168.168.2
setsrc: 192.168.168.51
interface: e1000g0:1
flags:
recvpipe sendpipe ssthresh rtt,ms rttvar,ms hopcount mtu expire
0 0 0 0 0 0 1500 0