MAC Addresses in routed datagrams

Hi,
I am due to teach some pupils the basics of MAC Addresses/IP Addresses and routing soon and I have a (hopefully) quick question which I am hoping someone here can help me with.
When a frame is placed out onto a public network is has a destination MAC Address. Is this address the MAC address of the next hop or the address of the final destination. If it is the next hop then am I right in assuming that the once the frame reaches the next router, the frame is unpacked to obtain the IP address from the layer 3 headers, and a new layer 2 frame is assembled with the MAC address of the next router to which the frame is to be sent. 

Hello robertfl00k
When a frame is placed out onto a public network it will be having destination Mac Address of the next hop. When that frame will be received by the router, then it will remove the layer 2 information and check its routing table for the destination ip address. If destination will be available there in the routing table then it will attach new layer 2 information and forward that data to next hop.
Regards,
Mukesh Kumar
Network Engineer
Spooster IT Services

Similar Messages

  • Need to add MAC address to router

    Any ideas on when you get an error message and how I remove the ACL (access control list)
    Try to setup the extender on the same room where the router is installed.
    - If MAC Access list of MAC Filtering is enabled on the router, make sure to add the MAC address of the extender.
    - Try to turn off and turn on all of your devices to refresh the network.
    Need to add MAC address to router somehow 
    I am tryign to follow Netgears's kb
    http://kb.netgear.com/app/answers/detail/a_id/22034

    What model Fios router do you have?
    If it's an Actiontec I belive you cannot do what you are attempting to do as it's not supported on that router
    See
    https://forums.verizon.com/t5/Home-Networking/Actiontec-router-does-not-support-wireless-range-exten...

  • Can we do MAC Address based routing in ASA5540

    I have a network setup where two servers from inside need to communicate with a remote network via 2 VPN gateways. The destinations are same.
    However, the chalange is each server need to follow it's own VPN gateway. Since i can't configure PBR (policy based routing) in ASA, can i configure something like MAC Address based routing. I can't use destination based routing since the remote network are reachable from the both VPN Gateways.
    Advise needed.
    Thanks in advance.
    Regards,
    R.Siva
    Network Security Engineer.

    Hi
    I am not shure i follow you correct here.
    You want 2 servers to speak to the same network but over two different vpn units ?
    If this is so then this could work
    Just set the route to the other network on server 1 to the vpn gate 1
    and route the other network from server 2 to the vpngate 2.
    in windows the command is route add.
    good luck
    hth

  • Finding OLD MAC address through Router.

    Sir, 
    I lost my laptop (Dell Inspiron 5521 15r) and only have its box which contains serial number 6CRC9W1 , order number 920181961 and etc but dont have MAC address. I asked dell about that but they are not helping me to get mac. Please tell me if there is any
    way to get old mac addresses through router to which my laptop was connected. Thanks.

    You can't. There is no way to know what the MAC was.
    The MAC is tied to the network adapter, not the Laptop, and hence not the Service Tag.  Since the Laptop probably had a wired adapter and a wireless adapter,...there would have been two different MACs.
    What good would it be even if you knew what it was?

  • Unable to read MAC address of router at login

    I'm using the following bash function to get the MAC address of the current router when logging in. The script works when I run it after logging in but doesn't work from my login hook (running as root). The script fails even after sleeping for 30 seconds prior to running. I know the interface is up because my mail client is finished checking mail by the time the script pings the router runs the arp command. I could run it as a cron job, but I'd like to understand why it fails during login.
    <pre style="border: 1px solid #ddd; padding-left: .75ex; padding-top: .25em; padding-bottom: .25em; margin-top: .5em; margin-bottom: .5em; margin-left: 1ex; max-width: 80ex; overflow: auto; font-size: 10px; font-family: Monaco, 'Courier New', Courier, monospace; color: #444; background: #eee; line-height: normal">get_route_mac() {
    ip=$(netstat -nrfinet | awk '/^default/{print $2; exit}')
    [[ "$ip" = *.*.*.* ]] || return 1
    [ ${1:-0} -gt 0 ] && ping -nc$1 $ip 2>&1 >/dev/null
    arp -n $ip | sed -n 's/.* at \(.*:.*:.*:.*:.*:.*\) on .*/\1/p'
    </pre>
    The idea is to do certain things when joining different networks. Especially when connected to an unknown network (stolen laptop recovery). I would like to support 10.3.9, so I'm avoiding launchd for now.

    PWD=/
    SHLVL=1
    SECURITYSESSIONID=ceb19270
    _=/usr/bin/printenv
    uid=0(root) gid=0(wheel) groups=0(wheel)
    The script works much better when it can find the required programs. :0)
    which netstat awk ping arp sed
    /usr/sbin/netstat
    /usr/local/bin/awk
    /sbin/ping
    /usr/sbin/arp
    /usr/bin/sed
    <pre style="border: 1px solid #ddd; padding-left: .75ex; padding-top: .25em; padding-bottom: .25em; margin-top: .5em; margin-bottom: .5em; margin-left: 1ex; max-width: 80ex; overflow: auto; font-size: 10px; font-family: Monaco, 'Courier New', Courier, monospace; color: #444; background: #eee; line-height: normal">get_route_mac() {
    ip=$(/usr/sbin/netstat -nrfinet | /usr/local/bin/awk '/^default/{print $2; exit}')
    [[ "$ip" = *.*.*.* ]] || return 1
    [ ${1:-0} -gt 0 ] && /sbin/ping -nc$1 $ip 2>&1 >/dev/null
    /usr/sbin/arp -n $ip | /usr/bin/sed -n 's/.* at (.*:.*:.*:.*:.*:.*) on .*/ /p'
    }</pre>
    Thanks for your help, Bob!

  • Ping problem in the neighborhood and Msan can see the mac address of router

    Hi everyone
     i have a router 1941/K9 with card EHWIC-4SHDSL-EA ,i have configure this card in my router , the problem is I can not ping the ip @ Neighbourhood and the MSAN can't also  see the mac-address of the router  do you notice that the interface in the MSAN and in the router is UP  / UP
    anybody help me

    Hi,
    An ethernet interface will be always up/up and it goes down only if there is problem between the given port and the connected one. The issue can be anywhere else in the middle.

  • MAC address and router access control

    My iPhone 3GS can only access the network (through my Netgear KWGR614 wireless router) when the router's MAC address access control is off. When I turn it on the phone is blocked. The MAC address I use is taken from the iPhone settings. It begins with 64. All other MAC addresses I have ever seen begins with 00. Is this MAC address correct? If it is right, could it be that the router can't handle this address?

    The first 3 bytes of the mac address identifies the manufacturer. For example, mine starts with 04:1e:64 which is Apple
    04-1E-64 (hex) Apple, Inc
    041E64 (base 16) Apple, Inc
    1 Infinite Loop
    Cupertino CA 95014
    UNITED STATES
    . if it starts with 64 then it belongs to
    64-4F-74 (hex) LENUS Co., Ltd.
    644F74 (base 16) LENUS Co., Ltd.
    18-5 Gwacheon-Dong
    Gwacheon Gyeonggi-Do 427-060
    KOREA, REPUBLIC OF
    check this list : http://standards.ieee.org/regauth/oui/index.shtml
    enter your first 3 numbers (first 3 pairs) from your wifi (settings/general/about) (don't use colons in the search)
    Not sure about the router as I never tried mac filtering. Each router will behave differently.
    Hope this helps.

  • How can I tell Apple to store my MAC-address of my Wifi Router in there location DB?

    Hello
    Recently I bought a new Wifi Router and when I use the Maps App it tells that my ipad is located in China (Shangai)
    When I also want to use the automatic timezone feature in the preferences app it indicates that my ipad is in China (Shangai)
    I have already searched for a number of discussions (in and out the Apple Support) and their I found that the problem is in a location DB managed by Apple (crowd-sourced database). It seems that my Wifi Router is registered with a wrong location. :-(
    my questions :
    .- is the somebody that can give me a procedure (certified by Apple) how I can update this location DB?
    .- How can I store my Wifi Router MAC address with the correct location in this DB?
    Already thanks in advance
    Kindly regards
    P@nt@ni

    try this
    http://www.skyhookwireless.com/howitworks/submit_ap.php

  • Router cannot see Hyper-V Guest MAC address

    Greeting,
    I have been trying to build a server on Hyper-V, on a host running Windows Server 2012 R2, and a wireless adapter is used.
    A virtual switch was created as external, connected to the host's wireless adapter.
    The guest OS is Debian 7, and the problem is it's unable to use DHCP to connect to the internet.
    I have to manually specific an IP address and the subnet mask in order to access the internet in the Guest OS, say 192.168.0.50. And I set port forward to this IP for external connection to the guest, but then sometimes I cannot connect; without doing anything
    it restores the connection after a while. At the same time I am keeping the MSRDP connection to tthe host so the host has not lost connecting to the internet.
    When the server on Guest is not accessible from the web, I can still connect to the server within the host machine by typing the lan IP of the guest: 192.168.0.50
    On checking the router, I found that two IP address 192.168.0.50 (Guest OS) and 192.168.0.15 (Host) are sharing the same MAC address (of the wireless card). It means the MAC address of the Guest OS is not seen by the router, and I suppose this is the root
    for the instability.
    Would you have any ideas about the situation, and suggested solution?
    Thank you.

    An update to my issue:
    Just realized the possible cause: the (freaking) router is dropping inactive machine.
    Basically the DHCP issue is not solved, but it doesn't seem to be a cause after all, as long as I manually assign the IP it works, even having the  2 IPs with the same MAC on the ARP table on router. (Host connection drop has to be further investigated).
    As I found that the loss of connection actually happens after a while I don't touch the web server on VM, the longer I leave it idle the more likely I cannot connect to it again. The situation is like a prolonged loading when trying to access a website,
    where sometimes you can connect after a while, or you never.
    What's weird is, if I somehow manage to connect to the idle VM server by multiple attempts, and that after I have restored the connection, I can reconnect to the server from another computer very quickly without any significant loading time.
    On some quick searches, I found someone using Linksys router is suffering from a similar situation as I do:
    http://serverfault.com/questions/522448/application-request-routing-on-a-hyper-v-guest-intermittently-stops
    So what I can try are basically 3 ways 
    -Change the router, not viable as I don't own it.
    -Insert a wireless bridge in between
    -Do something with Debian, making it periodically generate network request to the internet to keep the connection alive
    Any ideas about my observation, and maybe possible solutions?
    Thank you for reading.

  • What good is it to have a router that doesn't block mac addresses like its supposed too!!!

    what good is it to have a router that doesn't block mac addresses like its supposed too!!!

    At 10:30pm I think I'd like to talk this out....Lemme give you some more details and lets get some hardware programmers involved. I think this is a cross-platform conflict or at the remote a outdated hardware problem. What do you need from me to track this issue down? I have been patient and have waited over 1yr or maybe 2, waiting for an update to correct this issue. Alas, there has been no solution to this problem. I have 13 seperate MAC addy's on the network. 1 wired and the the rest wireless(some constant, others random). All on a schedule(some timed access, some all the time). I have macBooks, Labtops, Desktops, Ipads, Ipods, DSIs, Windows7, WindowsXP Pro, PS3, AppleTV and a few random BlueTooths. Not that much.
    Anyways, I think somehow there is a hole because of cross-platfom compatability that is making my daughter able to get on the net unless I change the wireless password......
    No I have no proof...It's just a feeling

  • HT1695 how to add mac address to wi fi router

    I am unable to access internet through wi fi although the Wi Fi icon comes on the screen.

    What make, model, and version WiFi router do you have?
    Do you have any user documentation for your router?
    Do you actually have MAC address filtering turned on?
    Despite the WiFi icon you may not really be connected to your WiFi network.
    Your router may not have given your iPad a valid IP address. Go to Settings > Wifi > your network name and touch the ">" to the right to see the network details. If the IP address starts with 169 or is blank then your router didn't provide an IP address and you won't be able to access the Internet.
    Sometimes the fix can be as simple as restarting your router (remove power for 30 seconds and restart). Next, reset network settings on your iPad (Settings > General > Reset > Reset network settings) and then attempt to connect. In other cases it might be necessary to update the router's firmware with the latest from the manufacturer's support web pages.

  • Router receives a frame/packet with unknown MAC address

    Hi Everyone,
    Lets assume that a router received a frame/packet on an interface due to switch did not have the destination mac address listed on its mac address table and therefore broadcatsed this packet out of all ports, and router receives that packet that was not even intended to reach it. Would the router route that packet or drop? Just wondering if my assumption is true and router would drop a frame/packet that it receives on an interface if the destination MAC address of this frame/packet is not a MAC address of the routers's interface that it was received on.
    Thanks!

    Hey but I don't think router ever does a destination mac check! (that's surprising indeed), looks like router does not check the destination information, until it strips off ip packet from the frame! have a look at what a router does when it receives a frame (with any destination mac addr) here:-
    http://www.ciscopress.com/articles/article.asp?p=2244117&seqNum=2

  • I have a Linksys WRT54G wireless router that has a MAC address

    A month ago, I could print from my PC and my Mac to my Epson printer over my Linksys WRT54G wireless network.  Now, for some reason, I cannot connect and print from either computer.  An Epson tech asked me to check the MAC address of the Mac and the printer to see if they were the same.  They were not.  He then opined that might be why I couldn't print.
    I don't know what changed a month or so ago or why it changed.  I have not done anything to change the MAC address on either the MAC or the printer.
    The Epson guy said the problem might be fixed by adding my printer's MAC address to my router's MAC address.  Something about "enabling MAC address filtering".  Then he told me that was an issue to pursue with my router manufacturer.  Naturally.
    Speaking of that problem...someone else had it, too...another technician at another site wrote: "...by default, routers don't come with mac address filtering enabled...and if that's the case....then adding the printer's MAC will not solve any issue that you may be having..." 
    So, three qustions:
    (1)  Can I add my Epson Workforce 545 printer's MAC address to my Linksys router?  Is that possible? 
    (2)  If I can do it, how do I do it?  I saw no "add" or "edit" functions on the Linksys WRT54G Status Page.
    (3)  What causes MAC address mismatching to happen?   What is unstable in that assembly?
    Solved!
    Go to Solution.

    Mac addresses with different devices will differ. No two devices will have the same mac address. this is also called the hardware address. This is designed so that it will serve as a unique identifier of your devices in the network which you can check thru the router. Now it is possible that wireless mac filter might be blocking it from connecting to the network. But it would be best to check as well and make sure that the printer is connected to your network and has the same ip address segment as your router.
    How to check if mac filter is enabled:
    Setting up wireless MAC Filtering to permit users to connect to the wireless network on your Linksys...
    Setting up wireless MAC Filtering to prevent users from connecting to the wireless network on your L...

  • ISP blocks my APBS due to various MAC addresses used by the router

    Hi all,
    My Internet provider limits access to Internet over Ethernet cable
    for fixed MAC address(s). That means, I have to inform ISP of the
    only MAC address I'll use to transfer data. In the case ISP detects
    traffic with other MAC addresses on my cable, he blocks any traffic
    at all (until cable unplugged and kind of 30secs are waited).
    My configuration is APBS GigaN with "shared public IP" and with
    MacBookPro connected over embedded WiFi AirPort N card.
    I reported EthernetID of my APBS to ISP, but stuck into the problem
    that all the time router is blocked. It successfully receives
    IP settings from DHCP of provider, and then passes nothing in/out.
    The provider said he can see the packets with different MAC addresses,
    as I understood these MACs are exactly AirportID and EthernetID of
    APBS. Why is it happening so, when "shared public IP" with DHCP
    and NAT are selected? Why MAC address of wireless card of APBS is
    visible to outside? What can I do with it, supposing that provider
    can't fix the case on his side?
    Regards,
    Strim

    kevj is right, Your linksys router has 3 MAC address and they all are assocciated with each other.

  • Arp aging time on router and mac address aging time on switches set close t

    Hi,
    appreciate some advice on the following:
    what is the benefit of setting arp aging time on router and mac address aging time on switches close to each other?
    Thanks,
    Christina

    Hi,
    based on the below output, do you think implementing it will benefit? Thanks.
    C2950#sh int fa0/43
    FastEthernet0/43 is up, line protocol is up (connected)
    Hardware is Fast Ethernet, address is 000d.5e11.4e2b (bia 000d.5e11.4e2b)
    MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec,
    reliability 255/255, txload 7/255, rxload 2/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    Full-duplex, 100Mb/s
    input flow-control is off, output flow-control is off
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input never, output 00:00:00, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 933000 bits/sec, 149 packets/sec
    5 minute output rate 2981000 bits/sec, 263 packets/sec
    2819781393 packets input, 3782332886 bytes, 0 no buffer
    Received 266693 broadcasts (0 multicast)
    0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 watchdog, 0 multicast, 0 pause input
    0 input packets with dribble condition detected
    4015025747 packets output, 2328228393 bytes, 0 underruns
    0 output errors, 0 collisions, 2 interface resets
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier, 0 PAUSE output
    0 output buffer failures, 0 output buffers swapped out
    C2950#

Maybe you are looking for

  • BPEL redundancy

    Hi! we need to backup our bpel server, so in case of error on one server the operation load will be redirected to the second server. Maybe later they should be both running at the same to time when we do some load balnacing. Is ok the architecture, w

  • Can't crop photos in iMovie 10

    Ever since I upgraded to iMovie 10 I cannot crop any photos. I want to adjust the Ken burns effect and also see the black borders of all of my photos in portrait. This happens for existing iMovie that I had been working on and also to a new one start

  • 10G Application Server Clone.

    Hi Hussein, I am trying to clone application server and I would like to change the ports, its like cloning the 10gAS, could you let me know any document on 10g AS clone. Regarards, Satya.

  • Owner of Infocube

    Hi Experts, how to find the OWNER of InfoCubes?

  • Skype over charged me - chat not working, how do i...

    Skype has taken £110 from my bank account in the last two months even though, as my statement shows, it should only have taken two payments of £10. I have tried to contact Skype but an unable to find a telephone number or email. The chat support is n