Networking :: External Nic Unreachable From Local Network
Jan 11, 2010
I've got router with: eth2 - local network (192.168.1.1), ppp0 - uplink (x.y.z.a)
my firewall:
Code:
# Generated by iptables-save v1.4.5 on Mon Jan 11 12:22:25 2010
*raw
:PREROUTING ACCEPT [1038480:666298388]
[code]....
somehow iptables -t nat -A PREROUTING -i eth2 -d x.y.z.a -j DNAT --to-destination 192.168.1.1 helps, but imho there should be some other solution. kernel is 2.6.31.6, architecture is x86_64.
P.S. i've also tried iptables -A POSTROUTING ! -d x.y.z.a -s 192.168.1.0/24 -j MASQUERADE that didn't help either.
View 10 Replies
ADVERTISEMENT
Jun 16, 2010
My issue is with linux routing tables using iproute2, coupled with the iptables MARK target. When I create a rule to lookup a table with iproute2, and the routing table routes an address as type unreachable (or blackhole, or prohibit), if a higher priority rule does a lookup to another table that routes the address as type unicast but that higher priority rule also matches on a fwmark, the packet to that address is never generated locally to even go through iptables packet filtering/mangling in order to mark it, because the lower priority rule that doesn't match on a fwmark says it's unreachable. For example, I have 2 rules installed with ip:
Code:
10: from all fwmark 0x1000 lookup routeit
20: from all lookup unreach
ip route list table routeit
[code]....
Now, in the packet filter, I have an iptables rule to mark packets to destination 10.0.0.5 with 0x1000 in the mangle table and OUTPUT chain. When I generate a packet locally to 10.0.0.5, all programs get ENETUNREACH (tested with strace). However, if I take out the route entry that 10.0.0.0/8 is unreachable, it all works fine and the routes in the routeit table get applied to marked packets (I know because my default gateway would not be 1.2.3.4, but wireshark shows packets being sent to the MAC address of 1.2.3.4).
The best I can surmise is that when generating a packet locally, the kernel tests the routing tables in priority order but without any mark to see if it is unreachable/blackhole/prohibit, and doesn't even bother generating the packet and traversing iptables rules to see if it would eventually be marked and thus routed somewhere. Then I assume after that step, it traverses iptables rules, then traverses the routing tables again to find a route. So is there any way around this behavior besides adding fake routes to the routing table (e.g. routing 10.0.0.5 to dev lo in the unreach table in this example)?
View 2 Replies
View Related
Mar 7, 2011
I have two linux servers, I tried to ping from one linux box to another and vice versa but error message is "connect: Network is unreachable" Where as If I tried from windows machine I am getting the reply from both the servers.
C:Documents and Settings>ping bnkprod
Pinging bnkprod.softtech.com [172.20.40.141] with 32 bytes of data:
Reply from 172.20.40.141: bytes=32 time=16ms TTL=64
Reply from 172.20.40.141: bytes=32 time<1ms TTL=64
Reply from 172.20.40.141: bytes=32 time<1ms TTL=64
Reply from 172.20.40.141: bytes=32 time<1ms TTL=64
Ping statistics for 172.20.40.141:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 16ms, Average = 4ms
View 2 Replies
View Related
Dec 27, 2010
I've been having a lot of trouble with getting wireless networking devices to work. I guess I have a lot of company, since mfrs don't seem to be very interested in supporting Linux.It seems that one common symptom is that, when I try to "Ping" using the Terminal, I get "network is unreachable".Does this mean anything specific, or is it a general output whenever the network is not carrying on two way communications? Does it mean that the wireless interface is down? Does it mean that the wireless hardware is not transmitting? Not receiving?
View 3 Replies
View Related
Jan 3, 2011
My ubuntu installation was running fine with the Belkin F7D1101 v1 after using this install method:[URL]..But, after allowing ubuntu to autoupdate many programs (don't remember which ones), the device stopped working. I checked all of the commands in the link above. They are all still functioning. dmesg throws no errors, but it terminates with
<code>ADDRCONF (NETDEV_UP): wlan0: link is not ready</code> Are there any network files which may have been overridden from autoupdate? iwconfig wlan0 shows "Access Point: Not-Associated" What output can I show you to help me find the problem?
View 1 Replies
View Related
Jan 18, 2010
I want to add this route but I am getting this error message. What is the reason of this problem? I cant add this route? how can i add?
Code: [root@linux/]# route add -net 10.1.0.0 netmask 255.255.0.0 gw 10.2.0.1 eth0 SIOCADDRT: Network is unreachable
View 11 Replies
View Related
Oct 3, 2010
I have a network printer directly connected via ethernet cable to an Ubuntu netbook, but pinging the printer fails, giving "Host Unreachable". The network light on the ethernet socket is lit green, and there is nothing else cable-connected to the network - just a simple cable connection between the netbook ethernet socket and the Network printer (a HP Laserjet 4200n). Ping works fine if I plug the cable into a different machine (a Win XP box) and ping from there, so it's not a cable or IP address problem.
This sounds simple enough and should work, but I'm stumped. Clues, anyone?
View 2 Replies
View Related
Dec 15, 2010
I'm experiencing massive latency/unreachable problems on my Linux machine. It's true for all network connections, here's an example of me trying to ping my router:
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=15115 ms
64 bytes from 192.168.0.1: icmp_req=2 ttl=64 time=14107 ms
64 bytes from 192.168.0.1: icmp_req=3 ttl=64 time=13107 ms
64 bytes from 192.168.0.1: icmp_req=4 ttl=64 time=12107 ms
64 bytes from 192.168.0.1: icmp_req=5 ttl=64 time=11108 ms
[Code]...
I've tried now with both the maverick default kernel and 2.6.37-rc5 kernel (both 64 bit), same result. If I take the card up and down (ifup, ifdown) performance is restored for a little while, then it's back. I've tried changing cable, network card and router port but no luck.
View 4 Replies
View Related
Aug 7, 2011
I am plagued by the following error when attempting port forwarded connections to my minecraft server. Port forwarding is good and test ok on router based firewall. No iptables entries. Natty N, all updates current.
[INFO] Disconnecting CascadianNW [/184.100.247.218:57787]: Failed to verify username! [internal error java.net.NoRouteToHostException: Network is unreachable]
java.net.NoRouteToHostException: Network is unreachable
Some discussion indicate jvm network connection issues related to ipv6, but they are old posts.
View 1 Replies
View Related
May 16, 2010
I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)
View 6 Replies
View Related
Jun 28, 2011
I have installed a web server on my local network. Everything is well configured and web pages are shown correctly from Internet (outside the local network) using the domain or the public IP.The issue is if I try to see that web pages (using the domain or the public IP) from inside the local network. In that case the router config page (192.168.1.1) is shown instead of the web pages.From inside the local network I'm only able to see the web pages using the internal IP address (192.168.1.XX).
View 2 Replies
View Related
May 25, 2010
I've got an Ubuntu server hosting our websites and other various things here in our own home. We recently switched to a router that doesn't support loopback (abomination), so I've set up hosts files on our computers so we can access our own sites when on our home LAN.
However, we often take our laptops as we travel about, and I'm guessing due to the hosts files when we try to access our sites, it'll look on whatever local network we're connected to for our server, which won't work, obviously.
Is there a way to set up something like a hosts file that'll only try to look up the local IP of the server when we're on a specific network (our home one), or have one that tries to look for the local IP first, then proceeds to try and resolve the domain name and use the external IP if the local IP doesn't work?
View 6 Replies
View Related
Jul 31, 2010
I've installed Debian inside Virtualbox on Mac OS 10.5.
I want to set up networking so I can (a) reach the outside internet from inside Debian (Virtualbox), and (b) reach the virtual Debian from my Mac. (I don't need to be able to reach the virtual Debian from anywhere but the Mac.)
I can't seem to figure it out. If I set the Virtualbox networking to "NAT", I can reach the outside world from Debian, but I can't reach Debian from Mac OS. If I set the Virtualbox to "Host Link Adapter", I can reach Debian from Mac OS, but I can't reach the internet from Debian.
I'm sure I've set up the way I want before, and I don't remember doing anything special for that, so I must be missing something simple today.
View 3 Replies
View Related
Nov 12, 2009
I recently installed Fedora 10 and I'm trying to install a driver for my HP Deskjet F4200 Series All in One printer. I downloaded the proper hplip file and when i go to install it in the terminal it gets to the very end where it is trying to install the missing required dependencies. When it checks for the network connection it comes back saying "error: The network appears to be unreachable. Installation cannot complete without access to error: distribution repositories. Please check the network and try again."I am connected to the internet through hardwire cable (also tried it through wifi) and have no trouble accessing internet through mozilla or downloading packages elsewhere. Any ideas on why my terminal won't recognize my internet connection??
View 3 Replies
View Related
Mar 12, 2009
I installed Fedora 10 and are using KDE. I struggled to get my network up and running - error for ping was "network is unreachable". I eventually got it right by modifying my ifcfg-eth0 file manually.
Now I'm trying to install with yum, but yum fails to connect, probably because of the proxy. I've set the proxy in <System Settings><Network Settings><Proxy> but it doesn't allow me to also add the authorization - greyed out. I've chosen the manual configuration of proxy.
1. How can I enable or allow the adding of authorization in the proxy dialogs or
2. Where is the proxy file which I can modify from command line (and how)?
View 4 Replies
View Related
May 28, 2011
I am building a v2.6 kernel floppy disk distro to run on a 1992 computer. FWIW The specs on the computer are
* 66 MHZ processor
* 12 MB ram
* 400 MB HD
* EGA monochrome video card
It runs Linux quite nice actually. I want to get it online with a null modem cable and use the other Linux box as a gateway to the internet. I have networking, TCP and slip support in the kernel. I do now know if I have all the needed network configuration files. I am able to ping 127.0.0.1. If I try to ping the other computer, I get a "network is unreachable" error. Tell me any commands to run on either box and I will attempt to do so. Remember the old computer is running a stripped down toolset since its only two floppies worth.
View 6 Replies
View Related
Jul 12, 2010
I have recently installed 10.04 on an old box I have sitting around and wanted to include it in my home network. After struggling with Network Manager I went in and set up the files manually.
/etc/hosts reads:
127.0.0.1 localhost
10.0.0.01 one.network one
10.0.0.02 two.network two
[code]....
then the IPv6 stuff
/etc/network/interfaces reads:
auto lo
iface lo inet loopback
auto eth0
[code]...
Now I can access the internet from this machine, but when I attempt to ssh to another machine in the network I get the message "Port 22 network is unreachable" Checking with google I found that there should be some ssh config files. I have one ssh_config but no sshd_config. I don't know if this is relevant. Also "network" is not the name of my network. Changed for anonymity.
View 4 Replies
View Related
Jul 17, 2011
I installed openSUSE on one of my work system. The network port wasn't working when I was installing, but works fine now (checked in Windows). But for some reason, I am not able to configure the network. I used both Dynamic and Static IPs (both work fine in Windows) but still no go. I am using Yast Control Center for this purpose. I can't even ping the default gateway when I am using custom settings. When I use dynamic settings, it says Unreachable Network.
View 7 Replies
View Related
Jun 8, 2011
I'm running Telnet Server, VFTP, and VNC on a Fedora 14 box. The box's internal IP is 192.168.1.222 This machine is configured to live in the DMZ, The firewall is up on both the router and this box. I can remote in from home using our external IP. I can FTP. I can Telnet. All using our external IP. When i'm in the office, i can remote in using our external IP. I can FTP. I can Telnet. Again, all with the external IP. If i attempt to telnet 192.168.1.222 i get a connection refused. i can ping the 192.168 address
nmap tells me that all 1000 ports on 192.168.1.222 are closed
nmap tells me that my expected ports are open on the external IP.
.... This is a relatively new conundrum as it "used to work", and only appears not to since our last reboot (power outage). I know i have to be missing something simple here, but i differ to the experts.
View 5 Replies
View Related
Apr 9, 2011
I couldn't find an answer to this question (not including vpn) on different threads so decided to eventually post it, though it's probably easy one. I would like to connect to some application on known IP and port in the internet from my LAN computer. However to do so (I have some application, not any administrative constraints or not being allowed to) I would like to use local addresses. So, let's say - I want to connect to the external host VV.XX.YY.ZZ, port AA using 192.168.EE.FF port BB. Baically so far I have limitation in my application (too many places for possible error, to correct it right now - will change it in future). Is it possible that after my application sends request to 192.168.1.EE port BB, my Linux transparently translates it to VV.XX.YY.ZZ:AA? I tried iptables tutorials and some forums, but nothing seems to be addressing this issue. I don't know if it's event possible with iptables but am pretty sure this should be possible.
View 5 Replies
View Related
Apr 27, 2010
setup my static network connection Here are my details :
IP : 172.16.152.137
Subnet : 255.255.255.192
Gateway : 172.16.152.191
Primary DNS : 172.16.0.1
[code]....
but after this setup when i restart my network #service network restart while bringing up the eth0 the following message is displayed before [OK] - RTNETLINK answers : Invalid Argument now it seems either this setup is wrong or not sufficient to set up the connection, whenever i try to ping 172.16.0.1 it showing connect : Network is Unreachable
View 11 Replies
View Related
May 31, 2010
I'm working with a Ubuntu 10.04 LTS system with two network interfaces (both Ethernet). I wish to setup this system such that it is simultaneously connected to my local and an OpenVPN network and able direct traffic between the connections depending on what program is sending the traffic. The problem: Under my current OpenVPN configuration all network traffic is directed to the VPN.
My OpenVPN config file (some details omitted)
--remote [gateway ip] # vpn12 load:
--remote [gateway ip] # vpn11 load:
--remote [gateway ip] # vpn15 load:
--remote [gateway ip] # vpn16 load:
[code]....
In practice, I would like OpenVPN to operate out of one of my two network interfaces and leave the other interface connected to the local network. Then by default all network traffic should be directed to my local network unless I specify (on a per program bases) that certain traffic should go though the VPN. These two network connections can (should) stay completely independent of each other and do not need to talk to each other.
View 2 Replies
View Related
Mar 31, 2009
I have two networks. One of them is wired, the other is wireless. The wired has an internet connection and a few other computers connected to it. The wireless network has a few hosts connected to it too, but it has no internet connection. What I've been trying, fruitlessly, to do, is make all connections that are bound to the internet, or my wired network, be routed that way, and all the connections to the hosts of the wireless network go that way.
Here's the setup..
Wired:
192.168.1.0/24 Gateway = 192.168.1.1
Route internet through here
Wireless
192.168.2.0/24 Gateway = 192.168.2.1
If my computer sends a packet to the internet, it should be routed through 192.168.1.1 If I send a packet to one of the local hosts of the wireless network, it should be routed through 192.168.2.1. Here's the routing table I've set up(This is one of many configurations I've tried)
Code:
$ ip route show
192.168.2.1 dev wlan0 scope link
192.168.2.0/24 via 192.168.2.1 dev wlan0 src 192.168.2.4
[code]....
With this, and everything else, I get destination host unreachable when pinging. The strange thing is that, if I unplug my eth cable, reboot and connect to the wireless network, everything is fine and I can access the router and the others. I'm trying to improve my networking skills, as I've had this of setting up a small linux box as a router for quite some time, for the fun of it, but I need to get routing under control before I go ruin my network.
View 6 Replies
View Related
Mar 25, 2010
I have one server with 4 network interfaces:
eth0: 192.168.0.0/24 - local lan A
eth1: 200.1.2.3 - internet link - default route
eth2: 192.168.10.0/24 - local lan B eth3: 192.168.20.0/24 - local lan C
Lan A - Default routing to eth0
Lan B - Default routing to eth2
Lan c - Default routing to another server but the workstations has static routing to this server too.
Everything is working fine on Opensuse 11.1 until I upgrade this sever to Opensuse 11.2 ( Reinstall, not update at all ). After upgrade to 11.2 the routing across local lan interfaces simply not work, if you try to ping lan-to-lan you got the message: Network unreachable, even with the IP Forward enable, but the default route is working fine trough the SNAT.
I've come back to Opensuse 11.1 and everything become normal, does anyone have an problem like this? Maybe a bug? PS: I do not try to disable the AppArmor, next weekend I will try Opensuse 11.2 without the AppArmor and post here anyway.
View 9 Replies
View Related
Aug 17, 2010
Flashed bios lastnight on 13.0 desktop.
all winblow$ are fine.
lspci shows ehthernet card
did 'netconfig' and
'route -n' shows default settings as if /etc/rc.d/rc.inetd1.conf were never set.
oh yes, i manually edited this too. mv'd and netconfig'd.
View 5 Replies
View Related
Mar 29, 2010
As it looks like the number of DNS Top Level Domains are just going to proliferate in the near future, use locally on an RFC 1918 private network in order to prevent a future name collision issue?
.local is the most obvious one but as that was stolen by Apple for mDNS/rendezvous use it's probably wise to avoid it now.
View 4 Replies
View Related
Jan 29, 2011
I'm using debian lenny.When I boot with kernel 2.6.36, ping always respond with Network is Unreachable. But when I boot with kernel 2.6.26 it works. I can't even ping the dafault router of 2.6.26 kernel when I am at 2.6.36. Also, system/administration/network does not show any connections while it shows something at the other kernel.
View 1 Replies
View Related
May 25, 2011
I use DNS on my server as a chasing DNS so its not fully configured. I seem to be having trouble with IPV6 addresses. I'm guessing this is linked to the 6to4 tunnel I have set up to my windows box, but I'm not really sure.
Code:
May 21 18:00:16 hyrule named[1148]: error (network unreachable) resolving 'D.ROOT-SERVERS.NET/AAAA/IN': 2001:dc3::35#53
May 21 18:00:16 hyrule named[1148]: error (network unreachable) resolving 'B.ROOT-SERVERS.NET/AAAA/IN': 2001:500:1::803f:235#53
May 21 18:00:17 hyrule named[1148]: error (network unreachable) resolving 'zg.akamaitech.net/AAAA/IN': 2001:503:a83e::2:30#53 .....
View 3 Replies
View Related
Aug 16, 2009
I installed centos 5.3 x86 at vrtualbox on windows 7 x64 as host. The ping answers "network is unreachable", ifconfig has an ip "192,168,51,100". At control panel, I seleted intel PRO/1000MT Desktop Host only. Is this centos's problem?
View 3 Replies
View Related
Jan 16, 2011
When ever i try to access 202.164.53.122 through ssh i get the following error message:
Couldn't establish connection to proxy: Network is unreachable ssh_exchange_identification: Connection closed by remote host
I have a account at 202.164.53.122.firewall is on.
View 1 Replies
View Related