DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th March 2010
widhi widhi is offline
New User
 
Join Date: Mar 2010
Posts: 3
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #2   (View Single Post)  
Old 19th March 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,901
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by widhi View Post
After applied a few weeks my machine restarted, but then the machine do not want to response ping command from client...
Post the output of the following two commands on your gateway machine:
  • $ sysctl net.inet.ip.forwarding
  • $ ifconfig
Also, post the output of the following command on your client machine:
  • $ ifconfig
Lastly, show the ping commands used on both client & gateway.

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.
Reply With Quote
  #3   (View Single Post)  
Old 19th March 2010
widhi widhi is offline
New User
 
Join Date: Mar 2010
Posts: 3
Thanked 0 Times in 0 Posts
Default

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
this is output from client machine :
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
ping from gateway to client :
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
ping from client to gateway :
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),
note :
I'm using 2 NIC and the problem is same for all NIC. I'm not yet upgrade my openbsd.
Reply With Quote
  #4   (View Single Post)  
Old 19th March 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,901
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by widhi View Post
this is output...
It is not clear yet what is your problem.
  • Provide the complete output of the following command (not merely the configuration of a single interface...) on your OpenBSD system:

    $ ifconfig
  • Provide a complete diagram of your network -- we need to know how your OpenBSD system is ultimately connected to your Windows box.
Reply With Quote
  #5   (View Single Post)  
Old 22nd March 2010
widhi widhi is offline
New User
 
Join Date: Mar 2010
Posts: 3
Thanked 0 Times in 0 Posts
Default

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
This is a complete diagram of my network

Reply With Quote
  #6   (View Single Post)  
Old 24th March 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,184
Thanked 182 Times in 149 Posts
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 09:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick