Hi Guys,
I have a box with 4 network interfaces and I want to route the traffic between then no firewall enable no NAT is internal IP's only so I have:
on my mygate I've 10.50.2.1
Iforwarding enable already
net.inet.ip.forwarding=1
my route output is
Internet:
Destination Gateway Flags Refs Use Mtu Interface
default RTR01 UGS 3 2574 - vr0
10.50.2/23 link#1 UC 5 0 - vr0
10.50.2.1 00:60:43:81:a7:6d UHLc 1 0 - vr0
AAM01 00:00:24:c9:58:9c UHLc 1 9 - vr0
AAM02 00:00:24:c9:58:80 UHLc 1 38 - lo0
loopback localhost UGRS 0 0 33208 lo0
localhost localhost UH 1 0 33208 lo0
192.168.38/24 192.168.38.1 UGS 0 15 - vr3
192.168.50/24 link#2 UC 2 0 - vr1
-------------------------------
vr0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:24:c9:58:80
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 10.50.2.4 netmask 0xfffffe00 broadcast 10.50.3.255
inet6 fe80::200:24ff:fec9:5880%vr0 prefixlen 64 scopeid 0x1
vr1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:24:c9:58:81
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.50.253 netmask 0xffffff00 broadcast 192.168.50.255
inet6 fe80::200:24ff:fec9:5881%vr1 prefixlen 64 scopeid 0x2
vr2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:24:c9:58:82
media: Ethernet autoselect (none)
status: no carrier
inet 192.168.101.2 netmask 0xffffff00 broadcast 192.168.101.255
inet6 fe80::200:24ff:fec9:5882%vr2 prefixlen 64 scopeid 0x3
vr3: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:24:c9:58:83
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.38.12 netmask 0xffffff00 broadcast 192.168.38.255
inet6 fe80::200:24ff:fec9:5883%vr3 prefixlen 64 scopeid 0x4
by: seruasPosted on 2008-08-30 at 05:23:03ID: 22351515
Let's put this way if I have 3 interfaces what I need to be able to ping hosts inside the 3 diferent networks?
Thanks,
Seruas