cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3849
Views
11
Helpful
19
Replies

Loopback and management Network

tahalotfi
Level 1
Level 1

Hi,

I am trying to create one loopback interface on each network devices in our LAN. For example 192.168.50.1/32 for one device, 192.168.50.2/32 for another device and so on. These ip addresses will be used for management purposes. So the 192.168.50.0/24 will be the management subnet. I am not sure that this is a right approach.

And if the answer is yes, then how can I have proper routing for them to be accessible from all over the network?

Thanks,

Taha

1 Accepted Solution

Accepted Solutions

Please be sure to mark this issue as resolved if appropriate. :)

View solution in original post

19 Replies 19

lamav
Level 8
Level 8

Taha, your approach is fine. It is a very common practice to assign /32 addresses to loopback interfaces for management purposes.

Victor

Thanks Victor,

Is there any sample document that I can take a look at it.I don't know how exactly do it.

Thanks,

Taha

d.metheny
Level 1
Level 1

Assuming you're using a dynamic routing protocol, just ensure that the addresses are included in the routing protocol configuration (i.e. network statement in EIGRP, etc.).

Thanks for your reply.

I don't use routing protocols in the network.

If I use static routes in my network, should I have one route for every device in all other devices? I think it's not a good practice to have so these many static routes for this purpose.

Thanks,

Taha

Personally, I would agree with you - without a routing protocol, you will need to tell each router how to get to every other router's /32 address.

Depending on your network, things could get VERY ugly VERY quickly.

Hi,

I have few question regarding implementation of a management network with loopbak and EIGRP.

Let's say we have 2 routers.

Router1: loopback1:192.168.149.1/32

Router2: loopback2:192.168.149.2/32

These 2 routers have a point to point L3 connection with 192.168.100.1/30 and 192.168.100.2/30 IP addresses.

How would be EIGRP implementation for just routing management network.

Thanks

1. Create your EIGRP AS (we'll use 1 as an example) on both routers.

2. Turn off auto-summary

3. Add the network statements for the IP's that you want to be advertised. If I am interpreting your comment correctly, you want to advertise ONLY the Loopback IP's.

config t

router eigrp 1

no auto-summary

network 192.168.149.0

This set of commands will work for both routers.

There are many ways to do it, and many variables that can be configured, but this should get you up and going. You can then go to each router and do a and you should see the other router's loopback IP in your routing table, provided you don't have any ACL's in place, and you don't have any pre-existing EIGRP configuration in your routers that would limit/restrict the exchange of EIGRP updates between the routers. If you also wanted to advertise the P2P connections, you could add to the config; that's a matter of preference - I've seen it both ways, and there are pros/cons to doing it.

I typed this quite quickly, so if anyone sees anything I missed/misquoted, please feel free to correct. :)

I have done exactly the same config, but I can't see the EIGRP route in the routing table. I haven't advertise p2p connections.

How are the routers connected?

Can you attach your configs?

I advertised the p2p subnet and now is fine. I can see the eigrp routes.

Without advertising the p2p network, I guess I should have static route for them. Am I Right?

DUH - I was just thinking about that, and was getting ready to send you another note. :)

You will need to include the IP's of the interface in order for that interface to advertise EIGRP.

Sorry about that! :(

I did a test. I remove the p2p network from EIGRP configuration and added 1 static route on each router.

After that I can't see EIGRP routes in the routing table.

By the way routers are directly connected

Yeah - you'll need to include the IP network of the interface(s) in order for that interface to participate in EIGRP.

You could simplify the config by configuring a single network statement of - that would include not only the Loopback interface, but also the connecting IF.

What's the pros/cons of advertising p2p connections in EIGRP?

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: