mirror of https://github.com/sipwise/netscript.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mr5.5
mr5.5.13
mr5.5.12
mr4.2.1
mr4.2.2
mr4.3.1
mr4.3.2
mr4.4.1
mr4.4.2
mr4.5.1
mr4.5.10
mr4.5.11
mr4.5.12
mr4.5.13
mr4.5.2
mr4.5.3
mr4.5.4
mr4.5.5
mr4.5.6
mr4.5.7
mr4.5.8
mr4.5.9
mr5.0.1
mr5.0.2
mr5.1.1
mr5.1.2
mr5.2.1
mr5.2.2
mr5.3.1
mr5.3.2
mr5.4.1
mr5.4.2
mr5.5.1
mr5.5.10
mr5.5.11
mr5.5.2
mr5.5.3
mr5.5.4
mr5.5.5
mr5.5.6
mr5.5.7
mr5.5.8
mr5.5.9
mr6.0.1
mr6.0.2
mr6.1.1
mr6.1.2
mr4.5
mr3.8
mr3.8.13
mr6.1
master
mr6.0
mr3.8.12
mr5.4
mr3.8.11
mr5.3
mr3.8.10
mr5.2
mr5.1
mr5.0
mr3.8.9
mr3.8.8
mr4.4
mr3.8.7
mr4.3
mr3.8.6
mr4.2
mr3.8.5
mr4.1
mr4.1.2
mr3.8.4
mr4.0
mr4.0.2
mr4.1.1
mr3.8.3
mr4.0.1
2.8
mr3.8.2
3.0
3.1
mr3.2.2
mr3.2.1
mr3.2
mr3.3.2
mr3.3.1
mr3.3
mr3.4.2
mr3.4.1
mr3.4
mr3.5.1
mr3.5
mr3.6.2
mr3.6.1
mr3.6
mr3.7.1
mr3.7.2
mr3.7
mr3.8.1
mprokop/MT10277
vseva/8067
ksolomko/vlan
mr3.5.1.1
mr3.5.1.2
mr3.6.1.1
mr3.6.1.2
mr3.6.1.3
mr3.6.2.1
mr3.6.2.2
mr3.6.2.3
mr3.7.1.1
mr3.7.1.2
mr3.7.1.3
mr3.7.1.4
mr3.7.1.5
mr3.7.2.1
mr3.7.2.2
mr3.7.2.3
mr3.8.1.1
mr3.8.1.2
mr3.8.10.1
mr3.8.10.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5.5.9.2
mr6.0.1.1
mr6.0.1.2
mr6.0.2.1
mr6.0.2.2
mr6.1.1.1
mr6.1.1.2
mr6.1.2.1
mr6.1.2.2
${ noResults }
I sometimes get a failing network setup in Vagrant's ce-trunk VM
where the default route is missing then:
| # ip r
| 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15
| 192.168.88.0/24 dev eth1 proto kernel scope link src 192.168.88.234
|
| # cat /etc/network/interfaces
| # This file describes the network interfaces available on your system
| # and how to activate them. For more information, see interfaces(5).
| # The loopback network interface
| auto lo
| iface lo inet loopback
|
| # The primary network interface
| allow-hotplug eth0
| iface eth0 inet dhcp
| #VAGRANT-BEGIN
| # The contents below are automatically generated by Vagrant. Do not modify.
| auto eth1
| iface eth1 inet dhcp
| post-up route del default dev $IFACE
| #VAGRANT-END
Of course the default route comes back on a manual refresh of eth0:
| # ifdown eth0
| # ifup eth0
| # ip r
| default via 10.0.2.2 dev eth0
| 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15
| 192.168.88.0/24 dev eth1 proto kernel scope link src 192.168.88.234
The culprit seems to be the allow-hotplug where the device is handled
different in the startup process:
http://screeni.s3.amazonaws.com/screenshot.2013-09-17T11:43:37.png
The ordering is important because of Vagrant's
"post-up route del default dev $IFACE". While there's a workaround
available within Vagrant:
|
12 years ago | |
|---|---|---|
| Makefile | Adjust script version handling for Git | 13 years ago |
| deployment.sh | Change "allow-hotplug" network setting into "auto" to get more consistent behaviour | 12 years ago |