Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 22:11:14 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Noor Dawod <noor@comrax.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Question about two NIC's
Message-ID:  <20011003221114.H563@k7.mavetju.org>
In-Reply-To: <PHEBIOJOBJJLIIJCOINKOEDEEEAA.noor@comrax.com>; from noor@comrax.com on Wed, Oct 03, 2001 at 01:59:47PM %2B0200
References:  <20011003214855.C559@k7.mavetju.org> <PHEBIOJOBJJLIIJCOINKOEDEEEAA.noor@comrax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 03, 2001 at 01:59:47PM +0200, Noor Dawod wrote:
> Thank you for your reply. If you could further help me, I'd be greatful.
> Although both NIC's appear to be UP, I cannot send a ping on one
> network. Observe our network:
> 
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 194.90.246.124 netmask 0xffffff00 broadcast 194.90.246.255
>         ether 00:d0:b7:b6:0e:2e
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 172.22.1.4 netmask 0xffffff00 broadcast 172.22.1.255
>         ether 00:10:5a:a5:a5:62
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000
> 
> As you can see, xl0 is connected to an Intranet network (a dummy network
> used for backup). When trying to ping two IP's, look what happens:
> 
> (pinging a true IP in the Internet)
> PING 194.90.1.5 (194.90.1.5): 56 data bytes
> 64 bytes from 194.90.1.5: icmp_seq=0 ttl=253 time=0.923 ms
> 64 bytes from 194.90.1.5: icmp_seq=1 ttl=253 time=0.411 ms
> 64 bytes from 194.90.1.5: icmp_seq=2 ttl=253 time=1.042 ms
> 
> (ping an IP in the 172.22.1.x space)
> PING 172.22.1.1 (172.22.1.1): 56 data bytes
> ping: sendto: Permission denied
> ping: sendto: Permission denied
> ping: sendto: Permission denied

This message looks like there is something wrong with your firewall
rules regarding the xl0 interface. If "netstat -rn" show that 172.22
should go to xl0 then there is nothing wrong with the routing-table.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011003221114.H563>