cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
864
Views
0
Helpful
2
Replies

router and broadcast address

sarahr202
Level 5
Level 5

Hi every one

Routers by dedault stop broadcast address.

Let say we have following set-up

Lan----f0-Router-S0--------Wan

F0( ip address)  199.199..199.17 255.255.255.240

Let say router receives a packet on s0 with destination ip 199.199.199.31

what router will do?  will it send it out of f0? if yes but  it is broadcast address,

thanks and have a great weekend.

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

Hi Sarah,

A packet sent from a remote network to our  directly connected network's broadcast IP address 199.199.199.31 is in  this case called a directed broadcast. A directed broadcast is  routed through intermediate routers just like any other packet. Only  when it arrives into the router that has the destination network  directly connected, it starts to be slightly more interesting.

What will happen now depends on whether the Fa0/0 (the destination network's interface) has the ip directed-broadcast command applied to it. If yes then the router will simply forward the  packet onto the LAN, encapsulated in a broadcast-addressed Ethernet  frame. If the command is not applied (which is the default) then the  router will drop the packet.

Best regards,

Peter

thanks Peter.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: