Find the answer to your Linux question:
Results 1 to 8 of 8
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Ubuntu network problem

    Hi guys!

    I am beginner with ubuntu 12.04 and I have the following problem with my network configuration. I have 4 PC with following configuration

    wireless router with IP: with internet access

    PC1 eth0 IP: SM: GW:

    PC2 eth0 IP: SM: GW:
    wlan0 IP: SM: GW:

    PC3 wlan0 IP: SM: GW:
    PC4 wlan0 IP: SM: GW:

    now I want to be able to access from PC4 and PC3 to PC1. PC1 has just Ethernet NIC and is with cable connected to PC2 the ping command works. There are different IP address pools do I need to set up something like static routs where and how? Thanks !!!
    Last edited by harena; 11-07-2012 at 12:04 PM.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Tucson AZ
    Since you have posted in the Ubuntu section of the forums, does that mean you have Ubuntu on all the computers? or just one? If all of the computers are running Linux operating systems you should configure nfs to do that. Check the link below on the Ubuntu site for instructions:

    If you have windows on one or more of the computers, use samba. You will need to share from windows then configure Samba. Instructions are at the site below.

    Install and Configure Samba share in Ubuntu 12.04, 12.10 Quantal Quetzal

  3. #3
    I have on all of my PC runing Ubuntu 12.04. I do not need file sharing I need to be able to communicate within my network running a service, so it is enough for me if I could be able to ping from PC3 to PC1. PC3 has a connection to the wireless router with the address 10.x.x.x (ping between PC3 and router works) and PC1 is contected with the PC2 via ethernet cable with the address 192.168.x.x in additional PC2 has a wireless communication with the wireless router address 10.x.x.x The problem is how to configure the network to be able to ping from PC3 (wlan 10.x.x.x.) to PC1(eth 192.168.x.x)

  4. $spacer_open
  5. #4
    Linux Guru
    Join Date
    Oct 2007
    Tucson AZ
    I'm really not sure what you are wanting to do as you haven't mentioned which service you want to use. So you are only able to ping PC1 and PC2 which are both wired connections? It should not make any difference if they are wired or wireless, to ping you need the IP address. Does your wireless work on the computers with wireless, are you able to access the internet? I have two computers, a Desktop with wired Ethernet and a wireless laptop. When I ping from the wired Desktop to the wireless laptop I see this:

    ping -c 4
    PING ( 56(84) bytes of data.
    64 bytes from icmp_req=1 ttl=64 time=4.53 ms
    64 bytes from icmp_req=2 ttl=64 time=6.59 ms
    64 bytes from icmp_req=3 ttl=64 time=2.40 ms
    64 bytes from icmp_req=4 ttl=64 time=4.65 ms

    --- ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3003ms
    rtt min/avg/max/mdev = 2.401/4.543/6.593/1.485 ms
    Pinging from the wireless laptop to the wired Desktop provides similar results. You should be able to ping if you have the correct IP for the computer. You would need to post more info on what service you want to run to get help or post what you have tried and the results/errors you receive.

  6. #5
    Just Joined!
    Join Date
    May 2011
    I believe you would need to set-up a static route in the wireless router with your current set-up. Do you have that functionality in your router. What type of router do you have?

    Any reason you cannot assign PC1 eth0 IP to and assign PC2 eth0 to, then set both their gateways to

  7. #6

    In your current setup PC3 and PC4 cannot access to PC1 just because they are not on the same subnet. Saying that, 2 solutions :
    -configure all the PCs on the same subnet
    -make a static route between the 2 subnets

    hope this helps


  8. #7
    Just Joined!
    Join Date
    Mar 2009
    Santa Cruz, California
    You normally wouldn't be able to ping from a public address in the 10.x.x.x to a private, non-routable address in the 192.168.x.x network. To use that the usual way is to set up NAT translation from a public address in that 10.x.x.x subnet to one of the 192.168.x.x addresses. See RFC 1918 and RFC 4193.

    This isn't an Ubuntu problem at all - it's a basic IP networking issue.

  9. #8
    Sorry velikij but you're wrong. 10.x.x.x is a class A private address.

Posting Permissions

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