[SunHELP] Still problems setting up quad card
Hichael Morton
mh1272 at yahoo.com
Sun Jun 29 14:21:04 CDT 2003
you can have multiple nics/interfaces on the same subnet.
it is not complicated at all.
the only requirement is that each nic have a different mac address!
sun machines, be default, give the host's mac address to every
nic/interface in the sun machine.
you can give each nic a different mac address in the obp or with ifconfig.
man ifconfig
man eeprom
eeprom local-address?=true
at the obp
ok setenv local-address?=true
the obp variable may be different. check eeprom or do a printenv in the
obp. the varbiable will be local-*address?. the setting will be true
or false. setting the variable to true will cause cause each nic to use
its own mac address.
check eeprom (man eeprom) to see if the command needs a "=" or just uses
a space.
if the answerbook2 is installed on your sun machine, the obp guide and
the solaris system administrator guides should be installed on your sun
machine. if not, the guides are feely viewable and downloadable at
docs.sun.som
jamesd wrote:
> On Sunday 29 June 2003 12:42 pm, Patrick Marquetecken wrote:
>
>>Hi,
>>
>>After spending a whole weekend searching google, my setup hase to work!
>>But helas, it don't.
>>
>>I have a broadband router connected to a cable modem the cable modem get a
>>ip from the ISP, and the broadband router does all the dhcp, nat to
>>192.168.123.X
>>
>>
>>Here what i dit:
>>- Created a /etc/hostname.qeX with different names
>>- Add ipaddress and hostnames to /etc/hosts
>>- /etc/resolv.conf with two DNS ipaddresses of my ISP
>> 195.130.130.4 - 195.130.130.132
>>- Edit /etc/nsswitch.conf for hosts= files dns and networks = files dns
>>
>>At boot time the computer says "Machine is a router".
>>
>>Option 1
>>- Created a /etc/defaultrouter with 192.168.123.254 (broadband router)
>> le0 connected to broadband router
>> nslookup proxy.pandora.be works
>> ping proxy.pandora.be fails
>>
>>Option 2
>>- Created a /etc/gateways with net 0.0.0.0 gateway 192.168.123.254 metric 1
>>passive or static le0 connected to broadband router
>> nslookup proxy.pandora.be
>> *** Can't find server name for address 195.130.130.4: No response from
>>server *** Can't find server name for address 195.130.130.132: No response
>>from server *** Default servers are not available
>> ping proxy.pandora.be fails.
>>
>>
>>netstat -nr
>>
>>default gateway
>>Routing Table:
>> Destination Gateway Flags Ref Use Interface
>>-------------------- -------------------- ----- ----- ------ ---------
>>192.168.123.0 192.168.123.106 U 2 3 qe3
>>192.168.123.0 192.168.123.105 U 2 0 qe2
>>192.168.123.0 192.168.123.104 U 2 0 qe1
>>192.168.123.0 192.168.123.103 U 2 0 qe0
>
>
> okay i'm not solaris expert yet... but i have setup multiple networkig cards
> in the same machine... you can't connect more than one networking card in one
> machine to the same net..
> you need to set up each port to a different net
>
> example:
> 192.168.123.0 192.168.123.106 U 2 3 qe3
> 192.168.124.0 192.168.124.106 U 2 0 qe2
> 192.168.125.0 192.168.125.106 U 2 0 qe1
> 192.168.126.0 192.168.126.106 U 2 0 qe0
>
> there are ways around it but it involves dividing the the network class into
> smaller parts using special netmasks, and is complicated.
>
> you can also look in bonding but it requires a network swich that supports
> bonding.
>
>
>>192.168.123.0 192.168.123.102 U 3 0 le0
>>224.0.0.0 192.168.123.102 U 3 0 le0
>>default 192.168.123.254 UG 0 6
>>127.0.0.1 127.0.0.1 UH 0 6 lo0
>>
>>
>>/etc/gataways
>>Routing Table:
>> Destination Gateway Flags Ref Use Interface
>>-------------------- -------------------- ----- ----- ------ ---------
>>192.168.123.0 192.168.123.106 U 2 5 qe3
>>192.168.123.0 192.168.123.105 U 2 0 qe2
>>192.168.123.0 192.168.123.104 U 2 0 qe1
>>192.168.123.0 192.168.123.103 U 2 0 qe0
>>192.168.123.0 192.168.123.102 U 3 0 le0
>>224.0.0.0 192.168.123.102 U 3 0 le0
>>127.0.0.1
>>
>>
>>Another machine (Gentoo linux) connected to the broadband router but uses
>>dhcp from the broadband router can do all without a problem.
>>
>>Any help is more than welcom.
>>Patrick
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list