Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Can't ping my Fedora 4 default gateway

Posted on 2006-03-27
6
Medium Priority
?
263 Views
Last Modified: 2010-03-18
Greetings All,

This is my first posting so please excuse any bad etiquette.

Issue: I'm having a problem pinging my gateway after moving my Fedora 4 box to a different subnet. I was careful to make sure that I entered in the correct addresses and updated the right network files. Mind you the system worked fine in the other subnet and initially worked on the new subnet. However, after I rebooted, network connectivity ceased. I have also removed the the firewall as a potential problem by temporarily disabling it. I would love to know what I may have screwed up or changed that could be causing me this headache.

Question??: Looking at the files/configuration below, can you tell me what could be the source of my problem?

Any sugestions or ideas are greatly appreciated.

My configuration is as follows:

The /etc/sysconfig/network-scripts/ifcfg-eth0 file looks like the following:

DEVICE=eth0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
BROADCAST=146.138.133.255
NETMASK=255.255.255.0
IPADDR=146.138.133.207

The /etc/sysconfig/network file looks like the following:

NETWORKING=yes
HOSTNAME=localhost.localhostdomain
FORWARD_IPV4=yes
GATEWAYDEV=
GATEWAY=148.138.133.1

arp -a returns nothing

tcpdump -nn for port 53 give me...

16:00:34.201445 IP 146.138.133.2.2852 > 146.138.198.215.53: 1+ A? akapp.whenu.com. (33)
16:00:34.219812 IP 146.138.198.215.53 > 146.138.133.2.2852: 1 4/9/9 CNAME[|domain]
16:00:38.042495 IP 146.138.133.2.25884 > 146.138.198.215.53: 7636+ A? blog.washingtonpost.com. (41)
16:00:38.051782 IP 146.138.198.215.53 > 146.138.133.2.25884: 7636 1/6/6 A[|domain]
16:00:44.202601 IP 146.138.133.2.2853 > 146.138.198.215.53: 1+ A? sports.aol.com. (32)
16:00:44.241888 IP 146.138.198.215.53 > 146.138.133.2.2853: 1 6/10/9 CNAME[|domain]
16:00:44.295667 IP 146.138.133.2.2854 > 146.138.198.215.53: 1+ A? akapp.whenu.com. (33)

# netstat -rn gives me the following without the loopback address ???

Kernel IP routing table
Destination        Gateway       Genmask          Flags MSS Window  irtt   Iface
146.138.133.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             146.138.133.1 0.0.0.0              UG   0      0          0    eth0

# ip route
146.138.133.0/24 dev eth0 proto kernel scope link src 146.138.133.207
169.254.0.0/16 dev eth0 scope link
default via 146.138.133.1 dev eth0

# ifconfig

eth0 Link encap:Ethernet HWaddr 00:0F:1F:85:9E:A1
inet addr:146.138.133.207 Bcast:146.138.133.255 Mask:255.255.255.0
inet6 addr: fe80::20f:1fff:fe85:9ea1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3673 errors:0 dropped:0 overruns:0 frame:0
TX packets:318 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1935348 (1.8 MiB) TX bytes:20629 (20.1 KiB)
Interrupt:169

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:26003 errors:0 dropped:0 overruns:0 frame:0
TX packets:26003 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
0
Comment
Question by:Ironman88
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 16301533
Hello

did you consider to be filtered on the gateway?
It looks like your gateway it's filtering you. what do nmap say?
if you have permission/right to do so, use
nmap -sS -P0 -v -O 146.138.133.1

to see if it's not a problem on your switch/hub, check if you can see all your peers on the subnet:
nmap -sP 146.138.133.0/24

if you get more peers than your own ip, then the problem is on the gateway. If you get response from your gateway with the first scan, then they are filtering you. just check why and (maybe) advise them you moved to the new subnet so they can setup their boxes accordingly

Regards
0
 

Author Comment

by:Ironman88
ID: 16301594
I will check and see if I am being filtered in any shape form or fashion and let you know.

Thanks,
I-Man
0
 

Author Comment

by:Ironman88
ID: 16304489
I found out what the problem was...  It was discovered that the port on the switch was not configured correctly.  I am now able to ping the gateway and other devices on the network.

0
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 16305996
good to read that =)
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 16624216
PAQed with points refunded (500)

CetusMOD
Community Support Moderator
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question