Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 16:28:39 -0800 (PST)
From:      Vinod <geekvinod@yahoo.com>
To:        freebsd-net@freebsd.org
Subject:   help needed with configuring a gateway
Message-ID:  <20020401002839.54646.qmail@web21110.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi there. i was trying to create a gateway having one
ethernet card(10.0.0.2) and a wireless nic(10.0.1.1).
I wanted this gateway to act between a
laptop(10.0.1.5) and another pc acting as a
firewall/gateway(10.0.0.1).

 10.0.0.1-wired----10.0.0.2
                   gateway
                   10.0.1.1---wireless---10.0.1.5    


Somehow i cant ping from the laptop to the 10.0.0.1
host.i can ping from laptop to the gateway and from
gateway to 10.0.0.1.i have done gateway_enable="YES"
in /etc/rc.conf.
Here's how my routing table looks at the gateway.
------------------------------------------------------
Routing tables

Internet:
Destination Gateway Flags Refs Use  Netif  Expire
default    10.0.0.1 UGSc   1   422   fxp0
10/24      link#1    UC    2    0    fxp0
10.0.0.1 0:e0:29:24:4d:d4   UHLW 4 7 fxp0 1047
10.0.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 264 fxp0
10.0.1/24  link#7    UC    0    0    wi0
localhost localhost  UH    1    2    lo0
------------------------------------------------------

i tried to observe if my ping from the laptop is
reaching the 10.0.0.1 machine at all by running tcp
dump there.
i got:
testbed1-pc.1028>10.0.0.255.3661 : udp 80
testbed1-pc.1028>10.0.0.255.3661 : udp 80
.........
[Here testbed1-pc is the name of the gateway]
Does this tell anything?i am new to all this so have
no clue.
when i run tcpdump at my gateway and ping the laptop
from 10.0.0.1 i see on the screen:

arp who-has 10.0.1.5 tell 10.0.0.1
..........
10.0.0.2.1028>10.0.0.255.3661> udp 80
....................


Would appreciate any help a lot.
Thanks in advance,
Vinod



__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

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




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