Loopback interfaces

32 views
Skip to first unread message

dinesha.r...@gmail.com

unread,
Mar 4, 2014, 2:36:54 AM3/4/14
to auton...@googlegroups.com
Hi Simon,

used version 0.8.17 to render the attached graphml topology and ran the resulting Netkit lab, some routers (in the same ospf area) have been allocated loopback interface ipaddresses that are already allocated to other ethernet interfaces. In the attached example when I ping or ssh r1 on its eth1 interface (10.0.0.5) from r7, it communicates/connects to r5 instead which has a loopback 10.0.0.5 defined.

Is there anything else I need to specify to avoid this?

thanks in advance

Dinesha

ANK output.png
test.graphml
rendered.zip

Simon Knight

unread,
Mar 9, 2014, 10:20:07 PM3/9/14
to auton...@googlegroups.com
Hi Dinesha,

Please try the latest version of ANK, I've updated the IP addressing.,
which should fix this.

~/autonetkit 🚀 $ autonetkit -f ~/Downloads/test.graphml
INFO AutoNetkit 0.8.36
INFO Automatically assigning input interfaces
INFO IPv4 allocations: Infrastructure: 10.0.0.0/8, Loopback: 192.168.0.0/22
INFO Allocating v4 Infrastructure IPs
INFO Allocating v4 Primary Host loopback IPs
INFO Skipping iBGP for iBGP disabled nodes: []
INFO Unable to connect to visualisation server http://127.0.0.1:8000/publish
INFO All validation tests passed.
INFO Compiling configurations for netkit on localhost
INFO Compiling Netkit for localhost
INFO Unable to connect to visualisation server http://127.0.0.1:8000/publish
INFO Rendering Configuration Files
INFO Finished
~/autonetkit 🚀 $ head rendered/localhost/netkit/1.startup
/sbin/ifconfig lo:1 192.168.0.1 netmask 255.255.255.255 broadcast 192.168.0.1 up
/sbin/ifconfig eth0 10.0.0.1 netmask 255.255.255.252 broadcast 10.0.0.3 up
/sbin/ifconfig eth1 10.0.0.5 netmask 255.255.255.252 broadcast 10.0.0.7 up
route del default
/sbin/ifconfig lo 127.0.0.1 up
/etc/init.d/ssh start
/etc/init.d/hostname.sh
/etc/init.d/zebra start
chown -R root:root /root
chmod 755 /root
~/autonetkit 🚀 $

thanks
Simon
> --
> You received this message because you are subscribed to the Google Groups
> "AutoNetkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autonetkit+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages