GNU/Linux Command – IP (Part-6)

ip — Manipulate network device, routing and tunnels

Summary:
The ip is a swiss army knife command. It does many functions like assigning IP addresses to interfaces, for setting up routes and display configurations etc. Read the man page to know more about other options. In this part, we will see some of the multicast address, route cache management and status monitoring using IP command.

Examples:

$ ip maddress -- Show all multicast addresses attached to 
  each interface. 
$ ip maddr show dev eth0 -- Show all multicast addresses 
  attached to device eth0. 
# ip maddr add 01:00:5E:00:00:02 dev eth0 -- Attach the 
  link layer multicast address to device eth0.
# ip maddr del 01:00:5E:00:00:02 dev eth0 -- Delete the 
  multicast address from device eth0. 
$ ip mroute show -- Show the multicast route cache table. 
$ ip monitor all -- Monitor and show the status of link, 
  address and route. (Test: Disconnect and Reconnect the
  network cable) 
$ ip monitor link -- Monitor and show the status of link 
  alone. 

Read: man ip

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: