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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems configuring my QUAD ethernet card (Quad FastEthernet PCI)

Status
Not open for further replies.

iwan1981

Technical User
Oct 15, 2002
8
0
0
NL
Hi I installed this Network card in my UltraSparc 10:

X1034A 501-5406 Quad FastEthernet PCI (QFE/P)

Now I figured out how I can install the 4 interfaces...
I use this command:

# ifconfig qfe0 plumb
# ifconfig qfe0 10.0.0.202 netmask 255.255.255.0 up
# ifconfig -a

# ifconfig qfe1 plumb
# ifconfig qfe1 10.0.0.203 netmask 255.255.255.0 up
# ifconfig -a

# ifconfig qfe2 plumb
# ifconfig qfe2 10.0.0.204 netmask 255.255.255.0 up
# ifconfig -a

# ifconfig qfe3 plumb
# ifconfig qfe3 10.0.0.205 netmask 255.255.255.0 up
# ifconfig -a

And I made these files in the /etc folder:
hostname.qfe0
hostname.qfe1
hostname.qfe2
hostname.qfe3

In those files I put my hostname in.

When I reboot my UltraSparc 10 and issu this command "ifconfig -a":

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.0.201 netmask ffffff00 broadcast 10.0.0.255
ether 8:0:20:a1:ff:9f
qfe0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.0.0.201 netmask ffffff00 broadcast 10.0.0.255
ether 8:0:20:a1:ff:9f
qfe1: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 4
inet 10.0.0.201 netmask ffffff00 broadcast 10.0.0.255
ether 8:0:20:a1:ff:9f
qfe2: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
inet 10.0.0.201 netmask ffffff00 broadcast 10.0.0.255
ether 8:0:20:a1:ff:9f
qfe3: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 6
inet 10.0.0.201 netmask ffffff00 broadcast 10.0.0.255
ether 8:0:20:a1:ff:9f

If you take a good look you will see that the interfaces are seen by my UltraSparc...
BUT the IP addresses are the same as the "hme0" interface.

And the MAC addresses are also the same...

Can somebody help me with this problem?

Thanks,
I-1
 
Hi,

I think my problem is solved.
IP addresses are different now:

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.0.201 netmask ffffff00 broadcast 10.0.0.255
ether 8:0:20:a1:ff:9f
qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 20.0.0.201 netmask ff000000 broadcast 20.255.255.255
ether 8:0:20:a1:ff:9f
qfe1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 4
inet 30.0.0.201 netmask ff000000 broadcast 30.255.255.255
ether 8:0:20:a1:ff:9f
qfe2: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
inet 40.0.0.201 netmask ff000000 broadcast 40.255.255.255
ether 8:0:20:a1:ff:9f
qfe3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 6
inet 50.0.0.201 netmask ff000000 broadcast 50.255.255.255
ether 8:0:20:a1:ff:9f
# prtconf | grep qfe
SUNW,qfe, instance #0
SUNW,qfe, instance #1
SUNW,qfe, instance #2
SUNW,qfe, instance #3


CAN SOMEONE MAYBE TELL ME WHY MY MAC ADRESSES ARE THE SAME?
AND HOW DO I CHANGE THIS?

Thanks,

I-1

 
I will try this when I get home ...

Thanks for now
 
hi iwan,

as long as your interfaces do not "see" each other there is no need to use individual MACs on each NIC.
BTW: you can set the MAC on the fly using

ifconfig ... ether 8:0:20:a1:aa:9f

nota bene: you can't change the 8:0:20 part of the MAC

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
This answer helped:

To change it in prom do this:
setenv local-mac-address? true


That changed my MAC addresses:

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.0.201 netmask ffffff00 broadcast 10.0.0.255
ether 8:0:20:a1:ff:9f
qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 20.0.0.201 netmask ff000000 broadcast 20.255.255.255
ether 8:0:20:a3:81:f0
qfe1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 4
inet 30.0.0.201 netmask ff000000 broadcast 30.255.255.255
ether 8:0:20:a3:81:f1
qfe2: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
inet 40.0.0.201 netmask ff000000 broadcast 40.255.255.255
ether 8:0:20:a3:81:f2
qfe3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 6
inet 50.0.0.201 netmask ff000000 broadcast 50.255.255.255
ether 8:0:20:a3:81:f3

Thanks,
 
You could also change it from the command line:

Code:
eeprom "local-mac-address?" = true
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top