Motorola Canopy and static IP's
Geordie
geordi at kos.net
Tue Feb 4 18:53:37 UTC 2014
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
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
More information about the dhcp-users
mailing list