On 10/24/06, Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote:
Hi,
I was wondering if anyone has used GRE tunnel extensively. I'm
trying to
connect a FreeBSD system to a Cisco router. For testing ONLY I'm trying to
do
it to two devices on the same subnet. When I bring the gre up, I can't
ping the other side. I have my FreeBSD at 192.168.3.21 and gre0 looks like :
gre0: flags=9051UP,POINTOPOINT,RUNNING,LINK0,MULTICAST mtu 1476
tunnel inet 192.168.3.21 -- 192.168.3.149
inet6 fe80::212:3fff:fedd:58b2%gre0 prefixlen 64 scopeid 0x7
inet 192.168.3.21 -- 192.168.3.149 netmask 0x
My Cisco is at 192.168.3.149 and looks like :
interface Tunnel0
ip unnumbered Ethernet0
tunnel source Ethernet0
tunnel destination 192.168.3.21
!
interface Ethernet0
ip address 192.168.3.149 255.255.255.0
Ideas?
I'm not very experienced with this, but if your routing table
lists 192.168.3.149 as reachable through the tunnel, then
the tunnel itself can't function, naturally.
It looks like the man page and lack of sleep made this a
disaster... I've changed things around :
FREEBSD:
ifconfig wi0 192.168.3.21 netmask 255.255.255.0 up
ifconfig gre0 unplumb
ifconfig gre0 create
ifconfig gre0 192.168.4.1 192.168.4.2 netmask 0xff00 link0 up
ifconfig gre0 tunnel 192.168.3.21 192.168.3.149
Cisco:
interface Tunnel0
ip address 192.168.4.2 255.255.255.0
tunnel source Ethernet0
tunnel destination 192.168.3.21
!
interface Ethernet0
ip address 192.168.3.149 255.255.255.0
But still can't ping 192.168.4.2 .
Thanks, Tuc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]