| Author |
how to configure loopback
|
|
| worrywarm 2004-02-27, 10:53 pm |
| RouterA(config)# interface loopback 0
RouterA(config-if)# ip address 192.168.31.33 255.255.255.255
why use 255.255.255.255? is it wild card mask?
I also saw this
RouterA(config)# interface loopback 0
RouterA(config-if)# ip address 192.168.31.33 255.255.255.0
both are right? what's the difference?
Thanks a lot! | |
| steeda 2004-02-28, 1:22 am |
| 255.255.255.255 means "this host". | |
| Yankee 2004-02-28, 7:34 am |
| In the real world, most use the /32 mask (host level) for a loopback to avoid wasting addresses but technically you can use any legit mask in the configuration. In a lab you may want to experiment with different masks and many loopbacks just to have a bunch of networks in the routing table.
Yankee |
|
|
|