vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| 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 |
| ||||
| 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 |