This morning I tried changing my interfaces file again and here is what the file looks like:
# 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
auto p3p1
iface p2p1 inet static
address 192.168.1.105
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 8.8.8.8 8.8.4.4
When my interaces file is setup like this it will not not get to the internet or even my network now. I can't remote to my server using the static ip address 192.168.1.105 or my domain name wabasha-server.net but if I change back to:
# 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
auto p3p1
iface p3p1 inet dhcp
Everything works fine.
Now my router's local setting are:
MAC Address: 00:18:39
C:1B:99
IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0
DHCP Server: Enable
Start IP Address: 192.168.1.100
End IP Address: 192.168.1.149
Which means it is sending out ip address' beween 192.168.1.100 and .149.
My DHCP Active IP table is showing that wabasha-server which is my server has a ip address of 192.168.1.105 and will expire 23:42:56 so it will change.
By adding the line dns-nameservers really does nothing because it is dealing with dns names not internal ip address across a dhcp.
Now my big question is: when I setup my server did it setup a dhcp server and is it running in conflict with my dhcp on my router? I wouldn't think so. My old server 12.04 worked just fine with static setting.
Just for the record my Linksys router gaming menu is no more then port setting. It is opening ports for ftp,, httml etc. It has nothing to do with dhcp. I use it to open port for my server so I can get to the Internet.
In closing here is what my output from ifconfig command looks like:
Code:
irv@wabasha-server:~$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3617 (3.6 KB) TX bytes:3617 (3.6 KB)
p3p1 Link encap:Ethernet HWaddr 00:30:18:ad:bc:1e
inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:18ff:fead:bc1e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1725 errors:0 dropped:0 overruns:0 frame:0
TX packets:1752 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147818 (147.8 KB) TX bytes:2198538 (2.1 MB)
Bookmarks