Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prioritising NICs!?

Status
Not open for further replies.

pbray3

IS-IT--Management
May 8, 2003
6
US
Hi

I'm trying to set up a Solaris server, which will be connected to both a 'public' LAN -that users access, and a dedicated LAN for data backups.....

Any ideas how I might set the configuration to enable this!? - Within W2k3, I'd set the binding order for the backup LAN NIC so that traffic went via that route by default... How might I do this in Solaris?
 
this is just a routing issue, if your default network is
10.20.30.x and your backup network is 10.20.40.x and all your backupmachines are in the same subnet all traffic will follow the NIC route, ie. the "40 subnet", all machines in the |30 subnet" will talk over the "30 NIC" (again, the "interface route") if you want to contanct any host outside your interface routes Solaris will use the "default route" and send the requests to this router, the router must be accessable via an interface route

example:
# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 212.63.167.49 netmask ffffff00 broadcast 212.63.167.255
ether 0:3:ba:f:fe:ea
ge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.43.50.80 netmask ffffff00 broadcast 10.43.50.255
ether 8:0:20:b5:22:e9
# netstat -rn

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
147.204.2.5 212.63.167.50 UGH 1 0
212.63.167.0 212.63.167.49 U 1 0 eri0 # the interface route for the eri0 100Mbit Ethernet
10.43.50.0 10.43.50.80 U 1 182 ge0 # interface route for the gigabit
224.0.0.0 10.43.50.80 U 1 0 ge0
default 10.43.50.52 UG 1 130
127.0.0.1 127.0.0.1 UH 19 34870 lo0
#


host 147.204.2.5 is accessable via Gateway 212.63.167.50, which is in subnet accessable via the interface 212.63.167.49


Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top