Motorola Canopy and static IP's

Sten Carlsen stenc at s-carlsen.dk
Tue Feb 4 20:13:02 UTC 2014



On 04/02/14 19:53, Geordie wrote:
> Good Day
> 
> I need some help in establishing a static addresses on LAN PC's.
> The topography is as follows
> wan 
> ISP
> Wireless Motorola Canopy
> Switch
> Server with LXC containers; a bunch of PC's; Printer
> 
> The Motorola Canopy issues a dynamic ip address in the range of
> 169.254.1.x gateway of 169.254.1.1
Did you consider the importance of the 169.254.x.x IP?
RFC 5227
http://tools.ietf.org/search/rfc5227
> 
> If I set  /etc/network/interfaces to
> 
> allow-hotplug eth0
> iface eth0 inet static
>        address 169.254.1.10
>        broadcast 169.254.1.255
>        netmask 255.255.255.0
>        network 169.254.1.0
> I am unable to connect to the internet       
> 
> with 
> allow-hotplug eth0
> iface eth0 inet dhcp
> 
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000 link/ether 00:22:48:10:22:b6 brd
> ff:ff:ff:ff:ff:ff inet 169.254.1.5/24 brd 169.254.1.255 scope global
> eth0 valid_lft forever preferred_lft forever
>     inet6 fe80::222:68ff:fe10:24b6/64 scope link
>        valid_lft forever preferred_lft forever
> I have a connection.
> 
> I have tried this in /etc/dhcp/dhclient.conf
> and it was just overwritten with 169.254.1.5
> I even tried deleting the leases, that did not work
> 
> lease {
>   interface "eth0";
>   fixed-address 169.254.1.10;
> #  medium "link0 link1";
> #  option host-name "andare.swiftmedia.com";
> #  option subnet-mask 255.255.255.0;
> #  option broadcast-address 192.33.137.255;
> #  option routers 192.33.137.250;
> #  option domain-name-servers 127.0.0.1;
> #  renew 2 2000/1/12 00:00:01;
> #  rebind 2 2000/1/12 00:00:01;
> #  expire 2 2000/1/12 00:00:01;
> }
> 
> Would setting up a dhcp-server or a dhcp-relay help?
> There is a lot of info on the web, but I could not find anything
> related to what problems I have and my google foo is not that good
> 
> isc-dhcp-client:
>   Installed: 4.2.4-7
>   Candidate: 4.2.4-7
>   Version table:
>  *** 4.2.4-7 0
>         500 http://debian.yorku.ca/debian/ unstable/main amd64 Packages
>      
> I would like the server and lxc containers to maintain a static IP.
> Both the server and a large number of the containers will need access
> to the wan
> 
> Any help would be appreciated
> Thanks
> Geordie
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
> 

-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!"


More information about the dhcp-users mailing list