The excerpt from my rc.conf mostly illustrates what I'm trying to do. I
want to connect a host (10.30.1.15) to xl1 So that I can partition it's
traffic from that of the lan connected to xl2.
10.30.1.1 GW----xl0 10.30.1.30 FW xl2----10.20.30.1 LAN
|
xl1
|
|
10.30.1.15 FW ----- 10.20.15.1 LAN
However, with my current conf files, I can't even ping xl1 from the box
it's in. I can manually add a route, but I still can't ping the interface
itself.
What have I missed?
TIA
Peter Brezny
SysAdmin Services Inc.
my rc.conf looks like this.
ifconfig_xl0="inet 10.30.1.30 netmask 255.255.255.0"
ifconfig_xl1="inet 10.30.1.31 netmask 255.255.255.0"
ifconfig_xl2="inet 10.20.30.1 netmask 255.255.255.0"
xl1 is the iface giving problems.
when you look at just the output of a ifconfig, things look ok.
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.30.1.30 netmask 0xffffff00 broadcast 10.30.1.255
inet6 fe80::201:2ff:feed:4275%xl0 prefixlen 64 scopeid 0x1
ether 00:01:02:ed:42:75
media: autoselect (100baseTX <full-duplex>) status: active
supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.30.1.31 netmask 0xffffff00 broadcast 10.30.1.255
inet6 fe80::201:2ff:feed:4225%xl1 prefixlen 64 scopeid 0x2
ether 00:01:02:ed:42:25
media: autoselect (10baseT/UTP) status: active
supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
xl2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.20.30.1 netmask 0xffffff00 broadcast 10.20.30.255
inet6 fe80::210:4bff:fe98:52cd%xl2 prefixlen 64 scopeid 0x3
ether 00:10:4b:98:52:cd
media: autoselect (none) status: no carrier
supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
However, netstat -r just gives this.
Internet:
Destination Gateway Flags Refs Use Netif
Expire
default 10.30.1.1 UGSc 1 7 xl0
10.20.30/24 link#3 UC 0 0 xl2 =>
10.30.1/24 link#1 UC 0 0 xl0 =>
localhost localhost UH 1 106 lo0
Obviously the problem here is that the 10.30.1/24 network is routing
through xl0, when I want to route just part of that network through xl1.
Since the only machine that's going to be connected to xl1 has an address
of 10.30.1.15, I tried adding a static route to it, without luck. First
just with
route add 10.30.1.15 10.30.1.31
still tries to send the packet through xl0, and although
route add 10.30.1.15 -interface xl1
does put in the correct interface in the routing table, It doesn't work.
Any Ideas?
Thanks again.
Peter Brezny
SysAdmin Services Inc.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message