|
|
Solaris to act as router?
All. I am having some trouble getting Solaris to act as a router. I
have 3 servers with a direct connection between each of them,
respectively. I need s2 to act as a router between the private
networks on s1 and s3. I can ping s1<=>s2 and s2<=>s3, but not
s1<=>s3. I have /dev/ip ip_forwarding set to 1 on s2. I'll try to draw
a diagram and give all of the pertinent info. Does anyone know why I
can't get this to work?
Thanks in advance.
|------------| |---------------------| |---------------|
|s1 ce1 |------ | bge1 s2 bge2|--------| bge1 s3 |
|------------| |---------------------| |---------------|
IPs
s1:
ce1 192.168.100.100
s2:
bge1: 192.168.100.101
bge2: 192.168.200.100
s3:
bge1: 192.168.200.101
Routing Tables
s1:
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
172.28.45.8 172.28.45.12 U 1 270 ce0
192.168.200.0 192.168.100.100 UG 1 0
192.168.100.0 192.168.100.100 U 1 14 ce1
224.0.0.0 172.28.45.12 U 1 0 ce0
default 172.28.45.9 UG 1 1178
127.0.0.1 127.0.0.1 UH 18 728 lo0
s2:
Routing Table: IPv4
Destination Gateway Flags Ref Use
Interface
-------------------- -------------------- ----- ----- ----------
---------
default 172.28.45.9 UG 1 166
172.28.45.8 172.28.45.10 U 1 67 bge0
192.168.100.0 192.168.100.101 U 1 1 bge1
192.168.200.0 192.168.200.100 U 1 1 bge2
224.0.0.0 172.28.45.10 U 1 0 bge0
127.0.0.1 127.0.0.1 UH 4 111 lo0
s3
Routing Table: IPv4
Destination Gateway Flags Ref Use
Interface
-------------------- -------------------- ----- ----- ----------
---------
default 172.28.45.9 UG 1 160
172.28.45.8 172.28.45.11 U 1 33 bge0
192.168.100.0 192.168.200.101 UG 1 0
192.168.200.0 192.168.200.101 U 1 1 bge1
224.0.0.0 172.28.45.11 U 1 0 bge0
127.0.0.1 127.0.0.1 UH 4 111 lo0
|
|
0
|
|
|
|
Reply
|
bozothedeathmachine16 (49)
|
4/25/2008 7:19:28 AM |
|
On 25 Apr., 09:19, bozothedeathmachine <bozothedeathmach...@gmail.com>
wrote:
> All. I am having some trouble getting Solaris to act as a router. I
> have 3 servers with a direct connection between each of them,
> respectively. I need s2 to act as a router between the private
> networks on s1 and s3. I can ping s1<=>s2 and s2<=>s3, but not
> s1<=>s3. I have /dev/ip ip_forwarding set to 1 on s2. I'll try to draw
> a diagram and give all of the pertinent info. Does anyone know why I
> can't get this to work?
>
> Thanks in advance.
>
> |------------| |---------------------| |---------------|
> |s1 ce1 |------ | bge1 s2 bge2|--------| bge1 s3 |
> |------------| |---------------------| |---------------|
>
--------------- SNIP
Hey,
you need IP-NAT, cause your s2 must translate the packages
form the net 192.168.100.X to the other net 192.168.200.x
CU
Klaus Grote
|
|
0
|
|
|
|
Reply
|
klaus
|
4/25/2008 7:29:35 AM
|
|
NAT is not needed here. Just make sure you get your routes right: on
s1 192.168.200.0 should be routed through 192.168.100.101, not
100.100. The same thing for s3 - 192.168.100.0 should be routed
through 192.168.200.100.
I hope I didn't overlook anything.
Kait
|
|
0
|
|
|
|
Reply
|
Kait
|
4/25/2008 8:48:04 AM
|
|
JACKPOT. Thanks all.
|
|
0
|
|
|
|
Reply
|
bozothedeathmachine
|
4/25/2008 11:35:00 AM
|
|
bozothedeathmachine schrieb:
> All. I am having some trouble getting Solaris to act as a router. I
> have 3 servers with a direct connection between each of them,
> respectively. I need s2 to act as a router between the private
> networks on s1 and s3. I can ping s1<=>s2 and s2<=>s3, but not
> s1<=>s3. I have /dev/ip ip_forwarding set to 1 on s2. I'll try to draw
> a diagram and give all of the pertinent info. Does anyone know why I
> can't get this to work?
solaris 10 has the command routeadm, with enables or disables routing,
so i assume you have some older release. Whats about udp and other
protocols, does ndd /dev/ip respect only ip (i think so)?
Wolfgang
|
|
0
|
|
|
|
Reply
|
Wolfgang
|
4/25/2008 8:13:19 PM
|
|
|
4 Replies
167 Views
(page loaded in 0.066 seconds)
Similiar Articles: how will i assign tow IP addresses to a single interface - comp ...Hi all I need to congigure two ipaddresses on a single interface in Solaris 9. ... Hi question of using my QFE to act as my router - comp.unix ... how will i assign tow IP ... IPMP in a different subnet and router. - comp.unix.solaris ...The problem is that our gateway router starts to drop ... Which is why you can identify 5 hosts to act as test ... Solaris 10 Zones and Networking -- Common Considerations ... VPN with Solaris 10 - comp.unix.solarisHi all, General question: Is it possible to use a solaris 10 server with two nics to act as a vpn ... ifconfig-ing Solaris 9 IPsec tunnels to a Vigor 2600 ADSL router ... ... SSH/SFTP Connection Forwarding - comp.unix.adminThe router has NAT rules which act as follows: 1. Packets from 192.168.1.3 to 192.168.2.97 port ... Incoherent ssh daemon in Solaris 10! - comp.unix.solaris ... By the way ... Qwest DESL, transparent mode, and PPPoE - comp.dcom.sys.cisco ...If so, and you set your modem/router to bridge mode, you may ... PPPoE DSL Solaris 10 - comp.unix ... SpeedTouch Pro to Act as a Transparent ... Wake on LAN Router Configuration - comp.dcom.sys.ciscoHow can i send a wakeup LAN signal to a PC. - comp.unix.solaris ..... over coax ... gateway (allow the local LAN ... comp.sys.hp.hpux... of using my QFE to act as my router ... unknown hostname on a station using DHCP - comp.unix.solaris ...The DHCP server is a router, which does not provide an hostname ... unknown hostname on a station using DHCP - comp.unix.solaris ... How to change the default router on HP ... networking with a pc question - comp.unix.solarisi have a sun ipx (please, i know) running solaris 5.7. i have connected it ... tried networking with both a cross-over cable and a Netgear hub - not a router ... Solaris 10 IPSec... - comp.unix.solarisCan this be done with solaris ... Is it possible to use a solaris 10 server with two nics to act ... ifconfig-ing Solaris 9 IPsec tunnels to a Vigor 2600 ADSL router ... ifconfig-ing Solaris 9 IPsec tunnels to a Vigor 2600 ADSL router ...Hello, I'm trying establish a VPN-tunnel between Solaris 9's IPsec (the ... system that comes as part of SunScreen) and a Draytek Vigor 2600 ADSL router. The Solaris ... Solaris 10 as Router... - The UNIX and Linux ForumsSolaris 10 as Router... ... will need either to configure the modem to act as a router (if supported) or implement NAT in the Solaris ... Setup VMWARE Host as router for Solaris, Linux, FreeBSD, and ...Setup VMWARE Host as router for Solaris, Linux, FreeBSD, and ... Force Linux to act as a router: echo 1 > /proc/sys/net/ipv4 ... On my home router I’ve added a route as follow : 7/11/2012 2:54:49 AM
|
|
|
|
|
|
|
|
|