ipv4ll fallback

Drew Van Zandt drew.vanzandt at gmail.com
Mon Feb 6 10:48:39 EST 2012


You could add a second IP on the interface - e.g. eth1 as dhcp, eth1.0 as a
static.

*
Drew Van Zandt
Artisan's Asylum Craft Lead, Electronics & Robotics
Cam # US2010035593 (M:Liam Hopkins R: Bastian Rotgeld)
Domain Coordinator, MA-003-D.  Masquerade aVST
*



On Mon, Feb 6, 2012 at 10:34 AM, Thomas Charron <twaffle at gmail.com> wrote:

>  Is there any easy way to configure dhcp to fallback to a link local
> address, should dhcp requests fail?
>
>  I am currently configuring my network stack statically via
> /etc/network/interfaces.  The application broadcasts via a built in
> uPnP stack, so it can function if it doesn't have an IP address.  But
> it's headless, so without the network, there's no way to reconfigure
> it.
>
>  The idea is, in a static IP environment, service would boot, detect
> the link local address, which would allow them to ssh into the machine
> and reconfigure it for a static address is needed.
>
>  I could have it configured static by default, and as part of the
> provisioning reconfigure it for dynamic.
>
>  Really just wanted to see if someone had a 'just do this' idea.
>
> auto lo
> iface lo inet loopback
>
> auto bridge
> iface bridge inet dhcp
>        bridge_ports eth0 eth2 eth3
>        bridge_fd 9
>        bridge_hello 2
>        bridge_maxage 12
>        bridge_stp off
>
> auto eth1
> iface eth1 inet static
>        address 192.6.94.4
>        network 192.6.94.0
>        netmask 255.255.255.0n UIP
>        broadcast 192.6.94.255
>
> --
> -- Thomas
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20120206/1415e854/attachment.html 


More information about the gnhlug-discuss mailing list