Results 1 to 8 of 8
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: 10.67.70.1 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-07-2012 #1Just Joined!
- Join Date
- Nov 2012
- Posts
- 2
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: 10.67.70.1 with internet access
PC1 eth0 IP:192.168.1.20 SM:255.255.255.0 GW: 192.168.1.10
PC2 eth0 IP:192.168.1.10 SM:255.255.255.0 GW:
wlan0 IP:10.67.70.5 SM:255.255.255.0 GW: 10.67.70.1
PC3 wlan0 IP:10.67.70.6 SM:255.255.255.0 GW: 10.67.70.1
PC4 wlan0 IP:10.67.70.7 SM:255.255.255.0 GW: 10.67.70.1
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.
- 11-07-2012 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,514
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:
https://help.ubuntu.com/12.04/server...le-system.html
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
- 11-07-2012 #3Just Joined!
- Join Date
- Nov 2012
- Posts
- 2
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)
- 11-07-2012 #4Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,514
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:
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.ping -c 4 192.168.0.105
PING 192.168.0.105 (192.168.0.105) 56(84) bytes of data.
64 bytes from 192.168.0.105: icmp_req=1 ttl=64 time=4.53 ms
64 bytes from 192.168.0.105: icmp_req=2 ttl=64 time=6.59 ms
64 bytes from 192.168.0.105: icmp_req=3 ttl=64 time=2.40 ms
64 bytes from 192.168.0.105: icmp_req=4 ttl=64 time=4.65 ms
--- 192.168.0.105 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
- 11-07-2012 #5Just Joined!
- Join Date
- May 2011
- Location
- NJ
- Posts
- 56
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 10.67.70.2 and assign PC2 eth0 to 10.67.70.3, then set both their gateways to 10.67.70.1?
- 11-08-2012 #6Linux Newbie
- Join Date
- Aug 2006
- Posts
- 115
Hi
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
CaptainDangeax
- 11-08-2012 #7Just Joined!
- Join Date
- Mar 2009
- Location
- Santa Cruz, California
- Posts
- 76
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.
- 11-09-2012 #8Linux Newbie
- Join Date
- Aug 2006
- Posts
- 115
Sorry velikij but you're wrong. 10.x.x.x is a class A private address.


Reply With Quote
