Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 19:18:48 +0530
From:      "Arpith Jacob" <arpith@geocities.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Networking problems
Message-ID:  <OE21AAIwplWdtaGzW3y00008f33@hotmail.com>

next in thread | raw e-mail | index | archive | help

Hello,

I'm am trying to get a home network running connecting two computers a p3
(redhat linux) and a p1 (freebsd 4.1).
I have setup networking on both the computers, I don't have a firewall on
the linux machine either.

I can ping the p3 (or even ftp/telnet into it) from the freebsd machine.
However, I cannot even ping the p1 box from the linux machine. Any
idea what the problem could be?

Is it a problem with a firewall that I may have on the freebsd machine? How
can I disable it completely? I think the default deny all rule is loaded
thru a kernel module. How can I allow pings/telnet and other services from
all ips?

Here is the output of netstat -rn AND ifconfig on both the machines, if it
is of any help.


Linux Box (P3):

eth0      Link encap:Ethernet  HWaddr 00:00:E8:00:61:02
          inet addr:172.25.2.1  Bcast:172.25.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:798 errors:0 dropped:0 overruns:0 frame:0
          TX packets:561 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:5 Base address:0xcc00

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:668 errors:0 dropped:0 overruns:0 frame:0
          TX packets:668 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
172.25.2.0      0.0.0.0         255.255.255.0   U        40 0          0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo



FreeBSD Box (P1):

Routing tables

Internet:
Destination        Gateway            Flags      Netif Expire
default            172.25.2.1         UGSc        1       15      ed0
127.0.0.1          127.0.0.1          UH          0        0      lo0
172.25.2/24        link#1             UC          0        0      ed0 =>
172.25.2.1         0:0:e8:0:61:2      UHLW        3      153      ed0   1056

Internet6:
Destination                       Gateway                       Flags
Netif Expire
::1                               ::1                           UH
lo0
fe80::%ed0/64                     link#1                        UC
ed0
fe80::%lo0/64                     fe80::1%lo0                   Uc
lo0
ff01::/32                         ::1                           U
lo0
ff02::%ed0/32                     link#1                        UC
ed0
ff02::%lo0/32                     fe80::1%lo0                   UC
lo0


ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 inet 172.25.2.2 netmask 0xffffff00 broadcast 172.25.2.255
 inet6 fe80::e891:f9bc:b7ac:487d%ed0 prefixlen 64 scopeid 0x1
 ether a5:a5:a5:a5:a5:a5
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
 inet6 ::1 prefixlen 128
 inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
faith0: flags=8000<MULTICAST> mtu 1500

Thank you very much,
Arpith


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?OE21AAIwplWdtaGzW3y00008f33>