IP routing

wonder[riya7wonder[riya7 Banned Posts: 41 ■■□□□□□□□□
What does this command do in a router? Confused.

2621A(Config)#ip route 172.16.20.0 255.255.255.0 172.16.10.2
2621A(Config)#ip route 172.16.30.0 255.255.255.0 172.16.10.2
2621A(Config)#ip route 172.16.40.0 255.255.255.0 172.16.10.2
2621A(Config)#ip route 172.16.50.0 255.255.255.0 172.16.10.2

Comments

  • trac0detrac0de Member Posts: 27 ■□□□□□□□□□
    Hey,

    ip route creates a static route in a router table.
    So all these four subnets are accessible through next hope 172.16.10.2.
    After that have a look "show ip route" you should see added routes.
Sign In or Register to comment.