MAC spoofing a virtual NIC on Solaris 5.0


 
Thread Tools Search this Thread
Operating Systems Solaris MAC spoofing a virtual NIC on Solaris 5.0
# 1  
Old 09-29-2010
Power MAC spoofing a virtual NIC on Solaris 5.0

Hi everybody!

I'm facing a problem and I doubt about the solution (I'm not very familiar with old *NIXs).
An external network supplier (let's call them "telco") just installed new communication components that filters MAC addresses.

I have a Solaris 5 server, with 1 NIC (hte0) which is configured with 3 IP addresses, each on a virtual device: hte0, hte0:1 and hte0:2.

Telco's hardware needs 2 accesses to my Solaris server, with 2 different IPs AND different MAC.

As the server is vital for quite a lot of people, I can't allow it to shutdown and spend time installing a new NIC (besides, as the server is an old SUN, finding a network card will be hard and expensive).

What I guess could be an alternative would be

Code:
ifconfig hte0
ifconfig hte0:3 plumb
ifconfig hte0:3 10.2.1.253/24 up
ifconfig hte0:3 down
ifconfig hte0:3 hw ether ab:ba:12:34:56:78
ifconfig hte0:3 up

But I'm not sure the
Code:
ifconfig hte0:3 hw ether ab:ba:12:34:56:78

will be OK with such an old OS... (makes me feel old too, saying such a thing... ).
Hardware virtualization was not really developed, back then...

Has anyone had a similar problem?
As this server is vital (and I really mean that), I don't want to shut it down if it can be avoided!

PS: sorry for my weird formulations, English is not my mother-tongue and I hate automated translators...
# 2  
Old 09-29-2010
It will not work. MAC address on logical interface (hte0:1, hte0:2 ...) is always the same as MAC address on physical interface on which it is created.
This User Gave Thanks to bartus11 For This Post:
# 3  
Old 09-29-2010
Quote:
Originally Posted by bartus11
It will not work. MAC address on logical interface (hte0:1, hte0:2 ...) is always the same as MAC address on physical interface on which it is created.
I'm afraid I can guess your answer but.... is there any way to "spoof" that MAC address, event if that implies the use of "borderline tools"?
# 4  
Old 09-29-2010
You can have more than one mac address on a single physical interface with OpenSolaris but not on any released Solaris version (i.e. 10 and older). However, there is no such thing as Solaris 5.0. What OS release are you actually running (cat /etc/release) and on what hardware ?
# 5  
Old 09-29-2010
the cat /etc/release says
Quote:
Solaris 2.6 s297s_smccServer_37cshwp SPARC
Copyright 1996 Sun Microsystems, Inc. All Rights Reserved.
Manufactured in the USA 18 July 1997
But dmesg says
Quote:
cpu0: SUNW,UltraSPARC-II (upaid 1 impl 0x11 ver 0x20 clock 296 MHz)
cpu1: SUNW,UltraSPARC-II (upaid 3 impl 0x11 ver 0x11 clock 296 MHz)
SunOS Release 5.6 Version Generic [UNIX(R) System V Release 4.0]
Copyright (c) 1983-1997, Sun Microsystems, Inc.
In fact it's a SunOS 5.6, so if I remember well that's Solaris 2.6

Sorry for the mistaking...

Hardware is a SUN Ultra Enterprise 450, with 2x UltraSPARC-II CPU@296MHz
(yes, that's a bit old)
# 6  
Old 09-29-2010
Indeed. I doubt that box would fly with OpenSolaris ...
# 7  
Old 09-29-2010
alas....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

creating virtual nic permenant

am try to create another network card as virtual eth0:1 but when i restart the server it want be appear i have to create it again what is the solution for this . (6 Replies)
Discussion started by: leganti
6 Replies

2. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

3. Solaris

x86 Solaris 10 nic driver added but not attached. NIC is not detected.

I couldn't install my nic in solaris 10. I compiled and added the driver but failed to attach the driver and ifconfig output shows only loopback dev. Please see the following output and tell me whether my nic has been detected and why the driver failed to attach? My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies

4. OS X (Apple)

ethernet mac spoofing

I tried to use the command sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx to do mac spoofing for internet connection in my office. It works only for 5 minutes. Every time after about 5mins, the Internet will be disconnected. :wall: Any one knows how to solve this problem? Thanks. (6 Replies)
Discussion started by: andrewust
6 Replies

5. Solaris

create Virtual NIC in Solaris 10

Hi All, does any body know how to create Virtual NIC in Solaris 10 if any one have good article or reference kindly provide me i try to Google but i didn't find good one (7 Replies)
Discussion started by: jamisux
7 Replies

6. Cybersecurity

MAC Address spoofing

There is a question in the SCO section asking for information on how to change the MAC address of a NIC. Is there a valid reason for wanting to change the MAC address? (1 Reply)
Discussion started by: jgt
1 Replies

7. HP-UX

how can I determine which NIC card is virtual NIC Card

how can I determine which NIC card is virtual NIC Card which condition can make a decision Does HP UX have Virtual Network Adapter Concept if ,it has where I can Find if I Install Virutal Network Adapter or which command that i can get it or which software can generate thanks (2 Replies)
Discussion started by: alert0919
2 Replies

8. Solaris

How to check Virtual NIC card speed on solaris

Hi, We have a 4 port Sun gigaswift NIC card on our sun fire server. If the card is a physical one I know how to check the settings/speed. But since this is a virtual card with 4 ports , I am not sure as how we can check the settings. Details ----------- root:/> ifconfig -a lo0:... (3 Replies)
Discussion started by: pray44u
3 Replies

9. IP Networking

Binding Virtual IP address to NIC

Hi, I bound a virtual IP to a network card on my E450 server and I am getting this error when I reboot the server, saying, " retrying host, RPC time out. I had to break this sequence and allow other services to load. Of course they didn't load properly. Please how can I sort this out? I do need... (8 Replies)
Discussion started by: Ronny
8 Replies

10. UNIX for Advanced & Expert Users

Changing MAC address of a NIC

All, I have a need to software change the MAC address of a NIC in a Sparc Ultra 10 - I believe there is a command that allows to do this at boot up? Is it a missing (to me) part of ifconfig ? If so, what is the syntax? All replies gratefully received ! Thanks Andrew (3 Replies)
Discussion started by: wretch
3 Replies
Login or Register to Ask a Question