|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Can't Response Ping Request
I’m applied openbsd 4.6 functioned as gateway and success. After applied a few weeks my machine restarted, but then the machine do not want to response ping command from client but from gateway can do ping command to client. something knows this my trouble. thanks.
|
|
|||
Quote:
Each of these commands will determine whether you are experiencing a IP addressing mismatch, a misconfigured router, or possibly DNS issues. You may have lost some configuration values upon upgrading. |
|
|||
this is output from gateway machine :
Code:
# sysctl net.inet.ip.forwarding net.inet.ip.forwarding=1 # ifconfig rl0 rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:22:b0:d0:af:b5 priority: 0 media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::222:b0ff:fed0:afb5%rl0 prefixlen 64 scopeid 0x2 inet 222.12.34.1 netmask 0xfffffff0 broadcast 222.12.34.15 Code:
C:\>ipconfig /all ........ Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC Physical Address. . . . . . . . . : 00-1E-90-83-1A-7C DHCP Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 222.12.34.3 Subnet Mask . . . . . . . . . . . : 255.255.255.240 Default Gateway . . . . . . . . . : 222.12.34.1 DNS Servers . . . . . . . . . . . : 222.12.34.1 Code:
# ping 222.12.34.3 PING 222.12.34.3 (222.12.34.3): 56 data bytes 64 bytes from 222.12.34.3: icmp_seq=0 ttl=128 time=0.625 ms 64 bytes from 222.12.34.3: icmp_seq=1 ttl=128 time=0.326 ms 64 bytes from 222.12.34.3: icmp_seq=2 ttl=128 time=0.316 ms 64 bytes from 222.12.34.3: icmp_seq=3 ttl=128 time=0.305 ms --- 222.12.34.3 ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.305/0.393/0.625/0.134 ms Code:
C:\>ping 222.12.34.1 Pinging 222.12.34.1 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 222.12.34.1: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), I'm using 2 NIC and the problem is same for all NIC. I'm not yet upgrade my openbsd. |
|
|||
It is not clear yet what is your problem.
|
|
|||
This is complete output of the following command
Code:
# ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200 priority: 0 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 ale0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:26:18:23:23:48 priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet 114.6.13.46 netmask 0xfffffff0 broadcast 114.6.13.47 inet6 fe80::226:18ff:fe23:2348%ale0 prefixlen 64 scopeid 0x1 rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:22:b0:d0:af:b5 priority: 0 media: Ethernet autoselect (none) status: no carrier inet 222.12.34.1 netmask 0xfffffff0 broadcast 222.12.34.15 inet6 fe80::222:b0ff:fed0:afb5%rl0 prefixlen 64 scopeid 0x2 fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:04:ac:18:2f:d1 priority: 0 media: Ethernet autoselect (none) status: no carrier enc0: flags=0<> mtu 1536 priority: 0 pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33200 priority: 0 groups: pflog |
|
|||
Check the cable from the switch to the rl0 interface, because it doesn't sense any link or carrier. As a result it has autoselected not any media like 100baseTX for example.
Code:
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:22:b0:d0:af:b5 priority: 0 media: Ethernet autoselect (none) status: no carrier inet 222.12.34.1 netmask 0xfffffff0 broadcast 222.12.34.15 inet6 fe80::222:b0ff:fed0:afb5%rl0 prefixlen 64 scopeid 0x2
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tor Project infrastructure updates in response to security breach | J65nko | News | 1 | 22nd January 2010 06:57 PM |
Request for sh script for compressing files | bgobs | Programming | 5 | 16th January 2010 07:20 PM |
Request for guides | milo974 | General software and network | 1 | 16th December 2009 06:42 PM |
Source code of coreutils to create Incident Response Disk | audio | FreeBSD General | 6 | 5th July 2008 11:00 AM |