Hi,
You should enable routing and NAT. man ipnat, man routeadm

Dnia 12-04-2008, So o godzinie 22:35 -0700, Josh pisze:
> Hi all,
> 
> We have a server in house for our lab with two nics. I was originally hoping 
> to use one of the nics in an exclusive IP zone, but I can't seem to get it 
> working in Indiana. We need the web server operational, so I decided to try 
> to get it working in the global zone.
> 
> I want the network setup as follows
> 
> NIC 1: 10.x.x.x address, where all intranet and internet traffic not related 
> to webserving should go through. This address obtained via DHCP
> 
> NIC2: 149.142.x.x static public address. The webserver should operate through 
> this address.
> 
> So I initiated NIC2 with a 
> 
> ifconfig iprb0 149.142.x.x
> ifconfig iprb0 up
> 
> After doing this, I can reach the web server from other lab computers, but I 
> cant reach it from the outside world.
> 
> Traceroute from within the intranet:
> 
> traceroute to headache.mednet.ucla.edu (149.142.212.20), 64 hops max, 40 byte 
> packets
>  1  10.44.119.1 (10.44.119.1)  0.521 ms  0.250 ms  0.256 ms
>  2  149.142.212.20 (149.142.212.20)  0.319 ms  0.264 ms  0.269 ms
> 
> >From outside world hangs after a few hops.
> 
> -bash-3.2$ netstat -r
> 
> Routing Table: IPv4
>   Destination           Gateway           Flags  Ref     Use     Interface 
> -------------------- -------------------- ----- ----- ---------- --------- 
> default              10.44.119.1          UG        1          9 bnx0      
> 10.44.119.0          10.44.119.177        U         1          4 bnx0      
> 149.0.0.0            149.142.212.20       U         1          2 iprb0     
> localhost            localhost            UH        1         49 lo0    
> 
> I can't wrap my head around this tcp/ip routing, any help is appreciated. 
> Thanks in advance.
>  
> 
> This message posted from opensolaris.org
> _______________________________________________
> networking-discuss mailing list
> [email protected]
-- 
Regards, 
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com
.-.         .-.   .        .  
| |.-..-,.-.`-..-.| .-. .-...-
`-'|-'`'-' '`-'`-''-`-`-'  '-'
http://pl.opensolaris.org
http://planet.opensolaris.org.pl
http://forum.opensolaris.org.pl

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to