You are not logged in.
Pages: 1
I cant ping out, see my ifconfig message:
eth0 Link encap:Ethernet HWaddr 00:04:61:AC:43:56
inet addr:192.168.132.50 Bcast:192.168.132.1 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:894 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:86273 (84.2 Kb) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:336 (336.0 b) TX bytes:336 (336.0 b)
my host info:
arch64 on amd64 platfrom
ip: 192.168.132.50
gateway: 192.168.132.254
broadcast: 192.168.132.1 (this setting is valid in arch32)
and tracepath cant go out.
Offline
What's the output for "route'?
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
i tihnk you have to tune your etho0="dhcp" and above lines must be like this
#etho=(eth0 ........................)
#gateway(default............)
#ROUTES(!gateway)
i have maden the same mistake while installing the arch
In a world without walls,who need windows?
Offline
What's the output for "route'?
my route cmd take a long time to display the correct gate way.
genmask for gateway(192.168.132.254) is 0.0.0.0, i don't know why.
i tried tracepath, but the result is i cant go out off my computer.
My hardware is a little new. I don't know if this does matter.
to Titus, no im not a dhcp user.
im under a vlan (a virtual lan network, i have the static ip address)
Offline
Hi,
what the default route? Can you ping this? Why are you using .1 for broadcast as a matter of interest?
Posting the output of route would be useful.
Silly question, but can you ping 127.0.0.1?
Jon
Offline
Additionally, can you ping yourself?
Offline
I can Ping myself, by 192.168.132.50 or 127.0.0.1.
Look at this:
RX packets:894 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
It seems I can receive packets. And I checked my arp record, I have the mac address of my swither(gateway).
In my arch32 system , i can use .1 for my broadcast. And I tried 255, but it does not help.
Offline
BTW, my route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default 192.168.132.254 0.0.0.0 UG 0 0 0 eth0
the second line takes 5 minitus to be displayed.
the link below will lead to my good solution on my 32bit platform.
http://bbs.archlinux.org/viewtopic.php? … highlight=
Offline
Hi,
try running
netstat -rn
and see if it any quicker than
netstat -r
Jon
Offline
netstat -rn
the same as route, but take no time.
netstat -r
the second line takes 1 minitus or more.
Offline
you don't happen to have a name service running do you (NIS/DNS etc)? If you do disable the lookup via /etc/nsswitch.conf (restart nscd after rejigging this file), and try route &| netstat again. Sounds alot like a lookup failure causing the time problem, which if you cannot get out of you NIC, would make sense.
One thing to knock down anyway
Jon
Offline
No, I don't have any name services running.
The whole system is newly installed.
Offline
thats a bit odd as the only difference between netstat -rn and netstat -r is that -rn does not perform name lookups.
Offline
OK lets go back to basics, what the output of
mii-tool eth0
or
ethtool eth0
Mainly interested in link status here. (I'm assuming you hard coded the ip)
Are there any other servers on you network that can ping you? Would be good to run a ping from another server whilst running tcpdump:
tcpdump -nvi eth0
to see if you see the ping. Are you connected to a switch or a hub?
Ensure you /etc/nsswitch.conf file only refers to files for the moment (you'll want DNS later I assume)
Jon
Offline
name lookup?
I don't know why use ip will also do a name lookup.
So strange.
Offline
OK, I'm to follow you help now. Thank you.
Offline
I ask my roomate to ping me , but I cant catch anything by
tcpd -nvi eth0
And, here is the information when I run mii-tool eth0:
SIOCGMIIPHY on 'eth0' failed: Operation not supported
I'm sure I 've connected to my switcher, I can now post this reply in windows
Offline
are you running this as root?
Use ethtool instead
Offline
Yes, i logged as a root.
but I can't run ethtool, command not found.
My distro is arch64.
Offline
it looks at if your eth0 doesn't have a gateway assigned to it as displyed in your ifconfig ( i may be wrong)
Easiest way to check, if you can ping your router but not any other address on your network then your gateway is not set properly.
Offline
I changed a new net card then it's ok.
Maybe my nforce net card is too new.
Offline
Pages: 1