LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2009, 11:58 AM   #1
XeNoMoRpH
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Rep: Reputation: 0
Possible Network Issue?


Hello Everyone,

I recently have been tasked with figuring out why a machine running Fedora 6 has lost internet connectivity. We have several servers on one subnet (192.168.1.x) and another set of servers in the DMZ subnet (192.168.88.x). This server is in the DMZ and has no issue pinging any of the other servers (Windows machines) within the DMZ. However, that is where the communication stops. It cannot get to the other subnet like the other machines and cannot reach the outside (internet).

One test that we tried was changing the IP to one of the machines that did work to make sure it wasn't the router. Well, it still didn't work (I'm not necessarily satisfied with that test either). The network admin really thinks it is the machine.

Here is the ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:13:D4:0A:8B:1D
          inet addr:192.168.88.41  Bcast:192.168.88.255  Mask:255.255.255.0
          inet6 addr: fe80::213:d4ff:fe0a:8b1d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38324 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2593 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3987893 (3.8 MiB)  TX bytes:416339 (406.5 KiB)
          Interrupt:209 Base address:0xa800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6812327 (6.4 MiB)  TX bytes:6812327 (6.4 MiB)
The hosts and nameservers are correct. I don't deal with linux, so I'm not really sure where to start.

I do know this only became a problem when the network was switched around. Two companies were sharing the same network, but we just recently split into two different networks. This is why I'm leaning towards the router more than anything else.
 
Old 08-26-2009, 12:11 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, welcome to LQ!


The machine itself seems to have no problem on the physical
side of things. You may want to check whether it has host-
based firewalling enabled:

iptables -L

You mentioned that networks were "moved" ... did that machine
keep its IP, did it change?

What's its routing table?

route


Cheers,
Tink
 
Old 08-26-2009, 12:31 PM   #3
XeNoMoRpH
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
RH-Firewall-1-INPUT  all  --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
RH-Firewall-1-INPUT  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain RH-Firewall-1-INPUT (2 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     icmp --  anywhere             anywhere            icmp any
ACCEPT     esp  --  anywhere             anywhere
ACCEPT     ah   --  anywhere             anywhere

ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:mdns
ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ipp
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTAB                    LISHED
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:s                    sh
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:h                    ttp
REJECT     all  --  anywhere             anywhere            reject-with icmp-ho                    st-prohibited
I'll have to see if I can't find any routing tables. We have a Cisco 2811 Router and a Cisco PIX 501 Firewall.
 
Old 08-26-2009, 12:34 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Just issue the command 'route" on the linux box.
 
Old 08-26-2009, 12:42 PM   #5
ivanmacx
Member
 
Registered: Apr 2006
Location: Cambridge, UK
Distribution: Ubuntu Jaunty
Posts: 45

Rep: Reputation: 16
For the routing table just enter

Code:
route -n
You could also post the results of

Code:
cat /etc/hosts.allow
cat /etc/hosts.deny
 
Old 08-26-2009, 12:48 PM   #6
XeNoMoRpH
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
route -n
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.88.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.88.1    0.0.0.0         UG    0      0        0 eth0
cat /etc/hosts.allow (just has comments)
Code:
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
cat /etc/hosts.deny (just has comments as well)
Code:
#
# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!
 
Old 08-26-2009, 12:58 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hmmm ... nothing untoward or unexpected. I'll dare say
the problem sits somewhere else. I've seen interesting
cases where e.g., one windows machine had a private subnet
on a secondary interface that happened to use the same
address range that a Linux box was on on the corporate
LAN ... took a while to find out just what was happening
and prodding the windows and network guys hard enough
to start looking ;}
 
Old 08-26-2009, 01:03 PM   #8
XeNoMoRpH
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
I forgot to mention that the IP of the machine did not change after the split. I'll have to dig for some more information to really learn what happened with the split and how it was originally.
 
Old 08-26-2009, 01:23 PM   #9
XeNoMoRpH
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
I decided to check the message log and found that the machine uses Avahi. My initial search showed a lot of people having issues with this. Here is the log. It has done this 3-4 times today. Not sure if it's right.

Code:
Aug 26 13:37:57 db avahi-daemon[2661]: Withdrawing address record for 192.168.88.41 on eth0.
Aug 26 13:37:57 db avahi-daemon[2661]: Leaving mDNS multicast group on interface eth0.IPv4 with addr
ess 192.168.88.41.
Aug 26 13:37:57 db avahi-daemon[2661]: iface.c: interface_mdns_mcast_join() called but no local addr
ess available.
Aug 26 13:37:57 db avahi-daemon[2661]: Interface eth0.IPv4 no longer relevant for mDNS.
Aug 26 13:37:57 db NetworkManager: <information>        SWITCH: terminating current connection 'eth0
' because it's no longer valid.
Aug 26 13:37:57 db NetworkManager: <information>        Deactivating device eth0.
Aug 26 13:37:57 db avahi-daemon[2661]: Interface eth0.IPv6 no longer relevant for mDNS.
Aug 26 13:37:57 db avahi-daemon[2661]: Withdrawing address record for fe80::213:d4ff:fe0a:8b1d on et
h0.
Aug 26 13:37:57 db NetworkManager: nm_device_is_802_3_ethernet: assertion `dev != NULL' failed
Aug 26 13:37:57 db NetworkManager: nm_device_is_802_11_wireless: assertion `dev != NULL' failed
Aug 26 13:37:57 db avahi-daemon[2661]: New relevant interface eth0.IPv6 for mDNS.
Aug 26 13:37:57 db avahi-daemon[2661]: Joining mDNS multicast group on interface eth0.IPv6 with addr
ess fe80::213:d4ff:fe0a:8b1d.
Aug 26 13:37:57 db avahi-daemon[2661]: IPV6_ADD_MEMBERSHIP failed: Invalid argument
Aug 26 13:37:57 db avahi-daemon[2661]: Registering new address record for fe80::213:d4ff:fe0a:8b1d o
n eth0.
Aug 26 13:37:57 db dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 fo
r sub-path eth0.dbus.get.reason
Aug 26 13:37:57 db NetworkManager: <information>        Will activate wired connection 'eth0' becaus
e it now has a link.
Aug 26 13:37:57 db NetworkManager: <information>        SWITCH: no current connection, found better
connection 'eth0'.
Aug 26 13:37:57 db dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 fo
r sub-path eth0.dbus.get.reason
Aug 26 13:37:57 db NetworkManager: <information>        Will activate connection 'eth0'.
Aug 26 13:37:57 db NetworkManager: <information>        Device eth0 activation scheduled...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) started...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 1 of 5 (Device Prepa
re) scheduled...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 1 of 5 (Device Pre
re) started...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 2 of 5 (Device Con
gure) scheduled...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 1 of 5 (Device Pre
re) complete.
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 2 of 5 (Device Con
gure) starting...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 2 of 5 (Device Con
gure) successful.
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 3 of 5 (IP Configu
 Start) scheduled.
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 2 of 5 (Device Con
gure) complete.
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 3 of 5 (IP Configu
 Start) started...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 4 of 5 (IP Configu
 Get) scheduled...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 3 of 5 (IP Configu
 Start) complete.
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 4 of 5 (IP Configu
 Get) started...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 5 of 5 (IP Configu
 Commit) scheduled...
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 4 of 5 (IP Configu
 Get) complete.
Aug 26 13:37:57 db NetworkManager: <information>        Activation (eth0) Stage 5 of 5 (IP Configu
 Commit) started...
Aug 26 13:37:57 db avahi-daemon[2661]: New relevant interface eth0.IPv4 for mDNS.
Aug 26 13:37:57 db avahi-daemon[2661]: Joining mDNS multicast group on interface eth0.IPv4 with ad
ess 192.168.88.41.
Aug 26 13:37:57 db avahi-daemon[2661]: Registering new address record for 192.168.88.41 on eth0.
Aug 26 13:37:58 db NetworkManager: <information>        Activation (eth0) successful, device activ
ed.
Aug 26 13:37:58 db NetworkManager: <information>        Activation (eth0) Finish handler scheduled
Aug 26 13:37:58 db NetworkManager: <information>        Activation (eth0) Stage 5 of 5 (IP Configu
 Commit) complete.
Aug 26 13:37:59 db kernel: eth0: Media Link On 100mbps full-duplex
Aug 26 13:38:37 db avahi-daemon[2661]: Invalid query packet.
 
Old 08-27-2009, 11:58 AM   #10
XeNoMoRpH
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Okay, a little update. I put the server on the internal switch and it worked just fine. It could ping hosts outside and talk to all of the servers on both subnets. I switched it back and of course it's not happy. I'm not sure why the DMZ is an issue. I'm leaning more towards an issue with the switch, minus the test with switching the IP to something known to work.
 
Old 08-27-2009, 12:32 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Has the machine been moved to another port on the switch/router?
 
Old 08-28-2009, 12:35 PM   #12
ivanmacx
Member
 
Registered: Apr 2006
Location: Cambridge, UK
Distribution: Ubuntu Jaunty
Posts: 45

Rep: Reputation: 16
It sounds like an issue with the router between the two subnets, as you say. Does that have any MAC address filters in operation perhaps?
 
Old 08-31-2009, 10:15 AM   #13
XeNoMoRpH
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Okay, here is an update. I ended up adding the subnet 192.168.1.0 into the routing table. So now it looks like this:
Code:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.88.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.88.1    0.0.0.0         UG    0      0        0 eth0
I can now ping machines within that subnet. I also fixed a DNS issue. It couldn't access the outside DNS address, so changing it to the internal one fixed that. Now the problem is it still can't access the outside. The computer knows all of the hosts and IPs, it just can't get through.
 
Old 09-03-2009, 07:30 AM   #14
ivanmacx
Member
 
Registered: Apr 2006
Location: Cambridge, UK
Distribution: Ubuntu Jaunty
Posts: 45

Rep: Reputation: 16
It really sounds like an issue with the router or the firewall. I would get your network folk to check that there's no specific block or filter relating to that machine.
 
Old 09-03-2009, 07:51 AM   #15
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Code:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.88.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.88.1    0.0.0.0         UG    0      0        0 eth0
Since the server has an IP address of 192.168.88.41, don't you need a gateway entry when the target is on the 192.168.1.0 subnet?

For the first route output, the default gateway at 192.168.88.1 would be used.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM
Network Manager issue : Does not distinguish between wired and wireless network rohanak Linux - Laptop and Netbook 1 09-04-2008 04:49 PM
network issue abulafiar Linux - Software 1 08-07-2004 12:44 AM
Network issue chop Linux - Networking 10 07-19-2004 01:57 PM
Network Issue Neur0tek Linux - Newbie 7 05-01-2002 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration