Sign in with
Sign up | Sign in
Your question

Running Ubuntu Server Behind Asus Router: Server Can't Access Local or External Network

Tags:
  • LAN
  • Networking
  • Routers
  • Internet
  • Servers
  • Ubuntu
  • Asus
  • DHCP
Last response: in Networking
Share
September 13, 2014 3:28:20 PM

I run an Ubuntu Server behind an Asus Router (http://www.asus.com/us/Networking/RTAC68R/specification...). Wireless works perfectly, and Router can ping the Server, but the Server cannot ping the Router, but the Router can ping itself.

From what I've read, I think it may be that the Router's dhcp server conflicts with the Router's dhcp server (but, I know nothing, so this is only my guess).
I believe what I want to do is to run the Server behind the Router (as it is now), but to limit the Router's dhcp server to a different subnet, or at least have it serve to a different range of IP ad-dresses in the same subnet. Although, I have seen others come to various conclusions including (1) put Server's ip into the DMZ of the Router, or (2) simply turn off the Router DHCP server.

Although I do find the latter option tempting, I am not entirely sure that I haven't already ruined the Server's dhcp settings to the extent that my roommates would go nuts if the internet was down while I tried to reconfigure the Server's dhcp settings.

Here are the contents of various relevant files:

1) route –n:

  1. Destination Gateway Genmask Flags Metric Ref Use Iface
  2. 0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth1
  3. 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1


2) ifconfig:
  1. Eth1
  2. Link encap:Ethernet HWaddr 00:25:90:d4:e9:38
  3. Inet addrr: 192.168.1.2 Bcast: 192.168.1.2555 Mask: 255.255.255.0
  4. UP BROADCAST MULTICAST MTU:1500 Metric:1
  5. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  6. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  7. Collissions:0 txqueuelen:1000
  8. RX bytes:0 (0.0B) TX byes:0 (0.0B)
  9. Interrupt:16 Memory:df900000-920000
  10.  
  11. lo
  12. Link encap:Local Loopback
  13. Inet addrr: 127.0.0.1 Mask: 255.0.0.0
  14. Inet6 addr: ::1/128 Scope:Host
  15. UP LOOPBACK RUNNING MTU:65536 Metric:1
  16. RX packets:324968 errors:0 dropped:0 overruns:0 frame:0
  17. TX packets:322968 errors:0 dropped:0 overruns:0 carrier:0
  18. collissions:0 txqueuelen:1000
  19. RX bytes:55193168 (55.1MB) TX byes:55193168 (55.1MB)

3) ping 8.8.8.8:
  1. PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data
  2. From 192.168.1.2 icmp_seq_1 Destination Host Unreachable
  3. From 192.168.1.2 icmp_seq_1 Destination Host Unreachable

4) Contents of /var/lib/dhcp/dhcp.leases:
  1. var/lib/dhcp/dhcp.leases/dhclient.leases
  2. var/lib/dhcp/dhcp.leases/dch/dhclient.eth1.leases

5) Contents of "cat /var/lib/dhcp/dhclient.eth1.leases"
  1. lease {
  2. interface "eth1";
  3. fixed-address 192.168.1.2;
  4. option subnet-mask 255.255.255.0;
  5. option routers 192.168.1.1;
  6. option dhcp-lease-time 86400;
  7. option dhcp-message-type 5;
  8. option domain-name-servers 192.168.1.1;
  9. option dhcp-server-identifier 192.168.1.1;
  10. renew 5 2014/09/12 03:03:47;
  11. rebind 5 2014/09/12 03:03:47;
  12. expire 5 2014/09/12 03:03:47;
  13. }

6) Contents of "/etc/hosts/":
  1. 127.0.0.1 localhost

More about : running ubuntu server asus router server access local external network

September 13, 2014 3:32:40 PM

Ubuntu server is an OS, can you explain better what you would like to achieve? You are running an application server? web server? What exactly does it serves?
m
0
l
September 13, 2014 4:20:45 PM

Dags said:
Ubuntu server is an OS, can you explain better what you would like to achieve? You are running an application server? web server? What exactly does it serves?


@Dags: I use the Server to house my movie collection and serve movies using Plex. In the past, with other routers, I have been able to forward the relevant port, type in '192.168.1.2:32400' to my browser, then view movies from computers within the network within the Plex GUI. I also was able to do this remotely using a DDNS; I could enter that DDNS, e.g.http://xyzsite.123site.org:32400, and access the Plex GUI from anywhere. My old roommate was the brains behind the Ubuntu Server setup and handled the networking, so I'm trying to put the pieces together. In the past, I've been able to plug the Server into the LAN Port of any router, turn it on, then the network would just work. For some reason, with these ASUS routers in the past week (I had the N66U, then replaced with the AC68R), the Server has been unable to connect to any network (again, plugged into router lan port like always).


m
0
l
!