Ubuntu Networking :: Cannot Ping/network To Host On 2nd Nic
Aug 11, 2010
I have a somewhat complicated network setup that I am testing on an internal network. I have the following route setup:
PC Client (192.168.2.100) --> Router (192.168.2.1) --> DSLAM (on our internal network) --> PPPOE Server (192.168.9.1) on Linux Ubuntu 8.04 on interface card eth2.
On the same Linux Ubuntu Machine on interface card eth1 (static IP 192.168.5.100), I have an Asterisk SIP server plugged into it. SIP Server = 192.168.5.101 (static) I need the PC client (192.168.2.100) to register via SIP soft phone to register on the SIP server (192.168.5.101). From the PC client I can ping as far as the eth1 interface (192.168.5.100)...but cannot ping the SIP Server (.101).
From the SIP server (18.104.22.168)...I can ping 192.168.5.100, I can ping 169.254.5.228 (Eth2:avahi), but not sure what that is. I cannot ping the pppoe default gateway (192.168.9.1), which I think you cannot anyway. No firewalls are running. My IPtables I cleaned out totally. I think it might be as simple as a route add, but I really have no clue. Tried building a virtual bridge using brctl LINUX betweeh eth1 and eth2, but that made things worse (could not ping anything after that)
I'm running openSUSE 11.2 (Linux piura 22.214.171.124-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux) and have a network problem. At work, ethernet works fine. When I plug it into my DSL router at home (which works with other computers), I encounter the following behavior: ping can resolve host names, however, traceroute and Firefox and Thunderbird cannot. It happens for both wired and wireless connections.
I am using ubuntu 9.10 and I still cannot figure out this thing. I work behind a proxy managed by my university. Now, I cannot ping the other users on my network although they can ping me. Not to mention, I also cannot ping [URL]... It says : ping: unknown host [URL]... But I can ping the proxy server.
If I try ping a host on my internal lan from my ubuntu notebook the host name never resolves, but if I ping www.domainname.xxx it will resolve because our dhcp server is setup as the dns server too. If I use the connect to server tool and select samba share and specify host by name, it can resolve that and the shares show up... same dns server, same machine, but different interface/program. My real reason behind this is because my synergy+ keeps falling over whenever the synergy servers dhcp lease expires and it gets a new I have to then specify the new address and change configs.
i know this is crazy, but im using a [URL] and have loaded a copy of "red hat linux 7" on the computer. i have no idea what kind of hardware config/spec stuff i should have in my immediate vision, and if i did i'm not sure how i would make sense of it all. linux loaded fine. didnt save drivers. eth0 not showing in ifconfig report, but lo is connecting to network, other host cannot ping linux and vice versus
can mount a cdrom, but not a usb flash dont quite understand how the load methods work involving /mnt/cdrom/"usbutils-0.86tar.gz" eth0 problems and gnome rpm stupidity keeps me from upgrading sys from old version to a newer version, cant even find the cmd to show me that info, sorry. have usb files i want to mount, dont know how to loAD THE CDROM FOLES, SO EVEN THAT ISNT WORKING OUT HAVE DISCS WITH howtos just need to stay focused on steps to get desired end result, while trying to learn too much info for what im currently doing between all the f!@#@ing windows i have open.
I made an ip packet using raw sockets and used icmp header of echo request inside that ip packet.I have a wifi lan with 2 host(laptops) connected to it. when I send the packets to any of these host the reply me with echo reply as i see in wireshark. but when i change the source ip and mac to that of another host there is no echo reply packet in the network but only echo request packet is there. Can anybody tell me why is this happening. and am also using Promiscuous mode so non of the packet is discarding.
I have a server that I can ping, and I can connect remotely with ssh to it. But when I try to connect to apache (port 80) I get "no route to host". But I can connect to localhost It's not just my client system that is having this problem but also systems that are on the same subnet There is no firewall running on the server route on the server
I am working behind a http proxy (172.30.x.x:3128). I have configured it in my terminal. All the applications such as wget,lynx firefox etc. are working correctly.However all dns utilities like nslookup, host and even ping too are not working.Following is output of host command:
Code: root@ding:~# host google.com ;; connection timed out; no servers could be reached Output of host -T:
To connect to net I have to first run dhclient3(learnt from this forum!).It gives me my ip but where is dns address sent I don't have and idea.
I've encountered a problem after doing a fresh install with xubuntu 10.10 (2.6.35-23-generic).some sites are blocked like [url]....if I do dig [url]....- I receive the A, CNAME records and the IP address and everything.when ping[url].... - I receive 'unknown host'.when ping <theipaddress> - I receive responses
A brief description of my network:It is a small home network consisting of an Ubuntu 10.04LTS server edition, an Iomega ix2 NAS, a WinXP pro server and several family laptops.This is all routed through a Netgear WNDR3300 home router. All are assigned IP's via DHCP and all but the laptops are static (via DHCP though). The WAN address/DNS is assigned via DHCP from my ISP.The problem:When one of the machines is offline, Ubuntu does not resolve the netbios name correctly. No surprise here. But what is happening is that it is finding some arbitrary machine on another network. Below is what a ping to an offline host reveals:
I can ping a host on my LAN successfully, but I cannot ping [URL]... for example. I have disabled the firewall and set http_proxy and can browse the internet with "Use system proxy settings" checked in Firefox. I am unable to update with yum either, but I am not sure if this is a side effect or not. I have run a trace on my ip address as I am browsing the internet and I can see the sites I am visiting on our web appliance. However, if I try to ping or update no requests are hitting the proxy so I don't think that is the issue.
I have a machine running linux with 3 ethernet interfaces attached.
My route output:
eth0 is attached to a laptop, eth1 is attached to a PC. eth2 is attached to a DSL modem, and the server is successfully acting as my internet gateway. The trouble is, my PC cannot see my laptop and vice versa. E.G. cannot ping, host seems down.
This is a RHEL 5.4 install. I did a fairly routine install setting up a static IP address of 10.5.96.10, a subnet mask of 255.255.254.0, and a gateway of 10.5.96.1 with the standard DNS setup for this network. These are all standard network setting for this network and otherwise work fine on other systems. The IP, gateway, and subnetmask all appear correctly on all relevant configuration files. This server can not ping any other system on the network and can not ping its default gateway. No other systems can ping this one either. Also this system can not ping "localhost" or its own hostname. The hosts file contains the line:
I can ping 127.0.0.1 and 10.5.96.10 and it works fine. Also the firewall is disabled. I know I probably can't get a straight forward fix with the information I have on hand right now, I'm more of a Debian guy, so there might be some Red Hat intricacies I'm not familiar with. I think I had a CentOS install some months back that had this issue and I don't remember how I fixed it, or if I even did. I might have just replaced it with Debian. That's unfortunately not an option this time around since it's not my box.
The internal network is behind nat done by the PC Router.The TP Link is recieving wireless signal from outdoors and it has switching and basic routing capabilities. I'm using the PC router for better routing options.PC Router (or R for short) is a triple-booting machine - Linux, FreeBSD and Windows. It has two lan cards - external (ext_if) - 100Mbps Realtek 8139 and internal (int_if) - 1Gbps integrated Realtek 8169.The problem is that all traffic from R to the network is slow - about 5-20K, while the traffic in the oppoiste direction is all right - about 10MB that is fine for 100Mbps cables, NICs and switches. The problem persist no matter the OS the pc R is running.I've tried some debugging on the situation as follows:
- put another PC at the place of R - everything is fine. That exclude the possibility of damaged cables, RJ-45s, switches and etc. - connected both of the NICs to the Internet while the internal network is being disconnected and they both work fine (no delays) - traffic shaping is not running - there is nothing in firewalls except NATing the internal network (and it is working fine). Actually these firewall rules have been operational for more than months and everything was fine untill a week or two ago. - changed the internal NIC with another - connected the internal network directly to the TP and all of the PCs are getting good network performance. Then connected the R machine to the TP as well and there was good performance between the internal network PCs and R. - R has good performance to the TP. In fact everything has good performance directly to the TP (when not connecting trough R). - the problem persist only between R and machines from the internal network.
I can ping the router, but I cannot ping anything outside of the network. The ping just sits there and eventually times out, no error message. I cannot download updates and it is the only box inside the network having any issues accessing the internet. I am running 10.10 server. I can get a list of packages on the update server, but not download them, it appears to be in an incoming issue. I'm using a motorola Netopia router in bridge mode with a netgear SRXN3205 as a router. Again every other system can download fine. I have tried running on one nic, no help dhcp, static again does nothing. I can pulls host [URL].. and I get
It may be worth noting that I set the box up at home on a dlink router and it worked fine, however I am confused why it is the only system on the network having these issues every other box can ping just fine.
today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:
Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15. Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.
How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?
Both systems connected in same LAN based network . Both WAN live ips are connected through different modems. Problem is that , no system is able to ping or connect with other system with Live ip , though they are able to connect through LAN ip and both systes are accessable and also able to browse internet (google etc..) Ping error :-- Destination Host Unreachable.
I have ubuntu 10.4 running on both my desktop and laptop. Both machines are connected to the router in wireless mode with Wifi.I can access internet from both machines without any issues, however I cant ping one machine from another. (and vice versa)
This applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.
I am a new user to Linux but in the last couple of months gained some Idea about it,I am trying to set up a small network in my office having 3 windows xp PCs, two fedora10 PCsI have an adsl router with 4-port hub connecting to the internet, one switch (say sw1) and one linux PC (say linux1) is connected directly to the router, the three win xp PCs are connected to switch sw1.all the above is working fine, I am able to get connected to Internet In all the systems, and able to network among all the above four.Now I want to make the linux1 as a proxy server for, hence I added another network card into it connected it to another switch sw2, which is connected to another linux pc (say linux2).
I have tried a hundred things, and googled an equal no. and finally posting it here.In order to reduce confusion I have disabled DHCP in all machines, and given static ips insteadNetworkManager was not happy about it, hence to fix my static IP i disabled NetworkManager ('chkconfig NetworkManager off')