Sponsored Content
Full Discussion: MAC address
Operating Systems SCO MAC address Post 302382132 by kaydream on Tuesday 22nd of December 2009 08:49:21 AM
Old 12-22-2009
MAC address

hi every one please help
i want to change mac address in sco unix 5.0.6
how can i do this
 

10 More Discussions You Might Find Interesting

1. Programming

Get Mac Address

:( Hi I am trying to get Mac address of of my Sun server from my C program running on the host machine. Any suggestions . (1 Reply)
Discussion started by: ss_hpov
1 Replies

2. UNIX for Dummies Questions & Answers

Mac address

Hi Can some one help me How do find out Mac address in Tru64 Unix Thank you (1 Reply)
Discussion started by: Syed_45
1 Replies

3. IP Networking

How to Achive IP address through MAC(Ethernet) address

Hi sir, i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address....... but i'm nt getting that how i can pass the MAC address to Frame........ Please give me an idea for making such program... Thanks & regards Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies

4. IP Networking

changing MAC address

hi, i wanted to know how to change the MAC id of the machine i`m using.. I know the MAC is permanent n on the ROM, but i wanted to know if there was any way to change it during tht particular session.. also.. if it was possible.. could it be kept changed for sometime...? (8 Replies)
Discussion started by: caltiger
8 Replies

5. Solaris

Host ID vs MAC Address

Hi, I've got a Sun Solaris machine with host ID (840f8e57) and MAC address (0:14:4f:f:8e:57), how do I: 1. Write the MAC address in standard (IEEE 802) format, i.e. xx-xx-xx-xx-xx-xx? Do I need to add 0's before or after the 'f', i.e. 00-14-4f-0f-8e-57 or 00-14-4f-f0-8e-57? 2. What is... (4 Replies)
Discussion started by: TheBlueSky
4 Replies

6. Programming

SCO get MAC Address

Does anyone know how to get the mac address of a SCO box using c. (11 Replies)
Discussion started by: jcarter2333
11 Replies

7. Solaris

Get ip address from mac address

I have following message in my messages file on solaris 10 WARNING: e1000g3712000:3 has duplicate address 010.022.196.011 (in use by 00:50:56:85:25:ef); disabled Now is there any way i can find which server has 00:50:56:85:25:ef mac address either IP or Hostname ? (6 Replies)
Discussion started by: fugitive
6 Replies

8. IP Networking

Tracing a MAC address to IP address: Solaris

Hi there I lost connectivity to one of our remote systems and when I checked the messages log I found the following: Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1 Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies

9. Red Hat

No Mac address present,

I have installed RHEL 6 in my new system. My sytem is physically also connected with network, but after successfully installing it is not detecting the network. I checked, there is no /etc/sysconfig/network file present in my system. I manually created /etc/sysconfig/network file. The problem I... (5 Replies)
Discussion started by: Ankur Goyal
5 Replies

10. IP Networking

MAC Address - Four Interfaces with the same MAC Address

four interfaces with ifconfig all interfaces have the same mac. If is not set for unique. but it still works. what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
skbmod action in tc(8)                                                 Linux                                                skbmod action in tc(8)

NAME
skbmod - user-friendly packet editor action SYNOPSIS
tc ... action skbmod { [ set SETTABLE ] [ swap SWAPPABLE ] [ CONTROL ] [ index INDEX ] } SETTABLE := [ dmac DMAC ] [ smac SMAC ] [ etype ETYPE ] SWAPPABLE := mac CONTROL := { reclassify | pipe | drop | shot | continue | pass } DESCRIPTION
The skbmod action is intended as a usability upgrade to the existing pedit action. Instead of having to manually edit 8-, 16-, or 32-bit chunks of an ethernet header, skbmod allows complete substitution of supported elements. OPTIONS
dmac DMAC Change the destination mac to the specified address. smac SMAC Change the source mac to the specified address. etype ETYPE Change the ethertype to the specified value. mac Used to swap mac addresses. The swap mac directive is performed after any outstanding D/SMAC changes. CONTROL The following keywords allow to control how the tree of qdisc, classes, filters and actions is further traversed after this action. reclassify Restart with the first filter in the current list. pipe Continue with the next action attached to the same filter. drop shot Drop the packet. continue Continue classification with the next filter in line. pass Finish classification process and return to calling qdisc for further packet processing. This is the default. EXAMPLES
To start, observe the following filter with a pedit action: tc filter add dev eth1 parent 1: protocol ip prio 10 u32 match ip protocol 1 0xff flowid 1:2 action pedit munge offset -14 u8 set 0x02 munge offset -13 u8 set 0x15 munge offset -12 u8 set 0x15 munge offset -11 u8 set 0x15 munge offset -10 u16 set 0x1515 pipe Using the skbmod action, this command can be simplified to: tc filter add dev eth1 parent 1: protocol ip prio 10 u32 match ip protocol 1 0xff flowid 1:2 action skbmod set dmac 02:15:15:15:15:15 pipe Complexity will increase if source mac and ethertype are also being edited as part of the action. If all three fields are to be changed with skbmod: tc filter add dev eth5 parent 1: protocol ip prio 10 u32 match ip protocol 1 0xff flowid 1:2 action skbmod set etype 0xBEEF set dmac 02:12:13:14:15:16 set smac 02:22:23:24:25:26 Finally, swap the destination and source mac addresses in the header: tc filter add dev eth3 parent 1: protocol ip prio 10 u32 match ip protocol 1 0xff flowid 1:2 action skbmod swap mac As mentioned above, the swap action will occur after any smac/dmac substitutions are executed, if they are present. SEE ALSO
tc(8), tc-u32(8), tc-pedit(8) iproute2 21 Sep 2016 skbmod action in tc(8)
All times are GMT -4. The time now is 11:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy