Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-02-2008, 05:00 AM
bozothedeathmachine
 
Posts: n/a
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-02-2008, 05:00 AM
klaus.grote@web.de
 
Posts: n/a
Default Re: Solaris to act as router?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-02-2008, 05:00 AM
Kait Elbe
 
Posts: n/a
Default Re: Solaris to act as router?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-02-2008, 05:00 AM
bozothedeathmachine
 
Posts: n/a
Default Re: Solaris to act as router?

JACKPOT. Thanks all.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-02-2008, 05:00 AM
Wolfgang
 
Posts: n/a
Default Re: Solaris to act as router?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:25 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62