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!

Configuring two nic cards

Status
Not open for further replies.

McQueen

Technical User
Feb 13, 2003
55
GB
Hi All,

I have a Sunfire V440 with solaris 9 installed.

Currently there is one nic card configured and all working ok, but now they want the other nic setup and both card to work seperatley. I have been asked to make sure that there is no brigeding between the two cards, But I'm sure how to check this or if it will do this.

Can anyone please help?.

Thanks for your help
 

Disable IP Forwarding

$ /usr/sbin/ndd -set /dev/ip ip_forwarding 0

Enable IP Forwarding (Machine acting as a Router)

$ /usr/sbin/ndd -set /dev/ip ip_forwarding 1

If this is for redundancy, you will need to look at ipmp.
 
Thanks for the reply sorry for getting back to you so late.
I'm not sure what you mean when you say disable/enable ip forwarding.

I've configured the other nic card ce1(Netmask 255.255.128.0):-

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.1.132.243 netmask ffff0000 broadcast 10.1.255.255
ether 0:3:ba:5a:bf:11
ce1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.105.10.1 netmask ffff8000 broadcast 10.105.127.255
ether 0:3:ba:5a:bf:11

This is the default Gateway of the other lan 10.105.0.10
Do I also need to add a route to the routing table and if so how to I do this for this specifc ip?.

Sorry if i'm not making any sense.
 
Disabling IP forwarding disables routing between the interfaces, so exactly as you wanted.

ce1 is your default interface, so only thing in 10.1.0.0/16 by your ifconfig will go to ce1. if you want other networks, you need to add a static route in a startup script (or by hand) using the route command to get those to the ce0 interface.


 
Is it an issue that both ce0 and ce1 have the same MAC address? That is "[tt]ether 0:3:ba:5a:bf:11[/tt]". I realize this can be changed with an OBP/eeprom setting ([tt]local-mac-address?[/tt]), but will this cause problems if they are on the same subnet or switch?

Just wondering because I'm having some network issues with a V440 too.

 
Thanks to everyone who help me out with this one all is working now with all your help.

Once again Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top