From zamfiranca at gmail.com Mon Apr 4 07:29:01 2016 From: zamfiranca at gmail.com (Anca Zamfir) Date: Mon, 4 Apr 2016 16:29:01 +0200 Subject: [Xorp-users] Delete interface in XORP causes the IP address to be removed from interface? Message-ID: Hello xorp-users, I am doing some tests on Linux and noticed that if I remove an interface from XORP the interface IP address is remvoed. Is there a way to bypass this and leave the IP address configured? Regards, Anca before deleting: # ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:0C:29:B1:E8:12 inet addr:192.168.121.1 Bcast:192.168.121.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9155 errors:0 dropped:586 overruns:0 frame:0 TX packets:15125 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:763573 (745.6 KiB) TX bytes:1233015 (1.1 MiB) Interrupt:18 Base address:0x1400 root at oAN# delete interfaces interface eth1 Deleting: eth1 { vif eth1 { address 192.168.121.1 { prefix-length: 24 broadcast: 192.168.121.255 } } } OK After ' delete interfaces interface eth1': # ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:0C:29:B1:E8:12 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9155 errors:0 dropped:586 overruns:0 frame:0 TX packets:15125 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:763573 (745.6 KiB) TX bytes:1233015 (1.1 MiB) Interrupt:18 Base address:0x1400 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20160404/cfac1bc1/attachment.html From greearb at candelatech.com Mon Apr 4 13:18:06 2016 From: greearb at candelatech.com (Ben Greear) Date: Mon, 04 Apr 2016 13:18:06 -0700 Subject: [Xorp-users] Delete interface in XORP causes the IP address to be removed from interface? In-Reply-To: References: Message-ID: <5702CBFE.7070109@candelatech.com> I think you want 'default-system-config'. See this page: http://xorp.run.montefiore.ulg.ac.be/latex2wiki/user_manual/network_interfaces Thanks, Ben On 04/04/2016 07:29 AM, Anca Zamfir wrote: > Hello xorp-users, > I am doing some tests on Linux and noticed that if I remove an interface from XORP the interface IP address is remvoed. Is there a way to bypass this and leave the IP address configured? > > Regards, > Anca > > before deleting: > # ifconfig eth1 > eth1 Link encap:Ethernet HWaddr 00:0C:29:B1:E8:12 > inet addr:192.168.121.1 Bcast:192.168.121.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:9155 errors:0 dropped:586 overruns:0 frame:0 > TX packets:15125 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:763573 (745.6 KiB) TX bytes:1233015 (1.1 MiB) > Interrupt:18 Base address:0x1400 > > root at oAN# delete interfaces interface eth1 > Deleting: > eth1 { > vif eth1 { > address 192.168.121.1 { > prefix-length: 24 > broadcast: 192.168.121.255 > } > } > } > > OK > > After ' delete interfaces interface eth1': > # ifconfig eth1 > eth1 Link encap:Ethernet HWaddr 00:0C:29:B1:E8:12 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:9155 errors:0 dropped:586 overruns:0 frame:0 > TX packets:15125 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:763573 (745.6 KiB) TX bytes:1233015 (1.1 MiB) > Interrupt:18 Base address:0x1400 > > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > -- Ben Greear Candela Technologies Inc http://www.candelatech.com