Results 1 to 1 of 1

Thread: Problem with subnets.

Threaded View

  1. #1

    Problem with subnets.

    I have a linux router that has 3 adapters, 2 wired one wireless. The wired adapter is connected to a few machines on the network through a switch and works fine. All those machine can access the webserver running on the gateway and can ssh into and ping the gateway using the external ip address. All of the wireless devices can access the internet and ping anything in the outside world just fine. The only thing anything connected to wlan0 can't do is access any service like ssh, apache, or ping the gateway using the external adapter.

    I'm thinking it's probably something I need to turn on or allow in iptables to let wlan0 talk to eth0 (the adapter plugged into the modem that has the external ip address). Anything connected to wlan0 can ping the internal ip address and be pinged from anything on the network, it just can't talk to eth0. I just don't know what to do because I rarely mess with iptables.

    I've posted some info below.


    Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 75.137.104.1 0.0.0.0 UG 203 0 0 eth0 75.137.104.0 0.0.0.0 255.255.248.0 U 203 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0


    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 576 inet xx.xxx.xxx.xxx netmask 255.255.248.0 broadcast 255.255.255.255 ether 00:04:4b:05:71:76 txqueuelen 1000 (Ethernet) RX packets 3239621 bytes 1751454322 (1.6 GiB) RX errors 2002 dropped 0 overruns 2001 frame 1 TX packets 870903 bytes 102968145 (98.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::204:4bff:fe05:7177 prefixlen 64 scopeid 0x20<link> ether 00:04:4b:05:71:77 txqueuelen 1000 (Ethernet) RX packets 48670106 bytes 3406025407 (3.1 GiB) RX errors 0 dropped 10 overruns 0 frame 0 TX packets 40039645 bytes 248158180873 (231.1 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 8061 bytes 1018138 (994.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8061 bytes 1018138 (994.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.10.1 netmask 255.255.255.0 broadcast 192.168.10.255 inet6 fe80::92f6:52ff:fee5:780a prefixlen 64 scopeid 0x20<link> ether 90:f6:52:e5:78:0a txqueuelen 1000 (Ethernet) RX packets 373525 bytes 50509081 (48.1 MiB) RX errors 0 dropped 6 overruns 0 frame 0 TX packets 521972 bytes 603511606 (575.5 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    Last edited by stimburg; 03-08-2013 at 03:00 AM.

Similar Threads

  1. Cannot connect two subnets
    By lloowen in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 05-15-2012, 08:58 PM
  2. Routing two Subnets
    By lorddevi in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-10-2010, 08:19 PM
  3. Routing between subnets is always on by default. How to turn it off?
    By frostbolt in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 03-21-2010, 08:07 AM
  4. dhcpd unable to serve multiple subnets
    By licause in forum Linux - Hardware, Networking & Security
    Replies: 10
    Last Post: 06-09-2009, 06:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •