Ubuntu 14.04
Wireless DHCP IP 192.168.1.105 Gateway 192.168.1.1
Eth0 on zero but I need static address on 192.168.1.xx
I have to talk to a process machine which (13 years old)is on fixed IP of 192.168.1.6.and have to use cross-over CAT5 patch because it does not have Auto MDI-X.
I can temporarily set fixed IP on eth0
Code:
root@pcc-ThinkPad-Z60t:/home/pcc# ifconfig eth0 192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255
but after an indeterminate period it loses connection and reverts back to DHCP.
I also cannot set a route immediately after checking fixed IP is accepted
Code:
root@pcc-ThinkPad-Z60t:/home/pcc# route add -net 192.168.1.6 gw 0.0.0.0 dev eth0
SIOCADDRT: Invalid argument
Bear in mind that for 13 years the process machine has run without hiccup using Ubuntu Breezy as built in computer communicating with Controller Board via cross over CAT5 patch cable.