Posts

Showing posts from September, 2013

BGP eBGP vs iBGP

Introduction Border Gateway Protocol (BGP), is a protocol used for exchanging routes on a grand scale. It's old (latest version from 1995), slow (converging takes forever) and extremely scalable (laughs at areas/levels of IGPs). Because of its modularity it is also very flexible. It's a path-vector type routing protocol, where traversed Autonomous Systems (AS) are the path and the interface from which to send a packet is the vector. One of the most important characteristics of BGP is its scalability due to rarity of advertisements between neighbors. Whole routing knowledge is exchanged only during the session initiation. After that routes are advertised on "need to know" basis - i.e. when new information is learned or old information withdrawn. BGP doesn't have its own connectivity protocol for communication between peers. It uses TCP port 179 to achieve reliable connections. Because of that, it's often argued that BGP isn't really a...

Cisco DHCP Snooping

DHCP Snooping allows swtiches on the network to trust the port a right DHCP server is connected to and no trust the other ports. Basically when the computer is connected to untrusted port send DHCP Discovery Message to find available DHCP Server. This message goes only to trusted ports on switch which are allowed to send DHCP Offer and DHCP Ack messages. This is very good prevention mechanism from e.g. man-in-the-middle attack and should be use in every networks for security reason. When switch receives DHCP Offer message from untrusted port it will go to errdisable state. To enable DHCP Snooping we need to do it globally :   R1#ip dhcp snooping and on specific VLAN  R1# ip dhcp snooping vlan 5 Remember about option 82 in DHCP, it can cause a lot of trouble, By default on Cisco switches option 82 is enabled. Which menas the switch expects this option in DHCP field. If your DHCP server doesn't have this option enabled ...