routing problem in solaris


 
Thread Tools Search this Thread
Special Forums IP Networking routing problem in solaris
# 1  
Old 04-02-2006
routing problem in solaris

hi,

below is the situation:

my server is in 128.10.200.xxx network.

i have a solaris computer running in a subnet. this computer got 2 nic card.
1 is 172.18.198.xxx , another 1 is 10.100.xxx.11
there is a machine stick with this computer, ip is 10.100.xxx.12
so, 10.100.xxx.11 and 10.100.xxx.12 is a internal network inside this computer.

128.10.200 gateway is 128.10.19.1
172.18.198 gateway is 172.18.19.1
128.10.200.xxx and 172.18.198.xxx able to communicate each other.
i configured in the switch.

my purpose is let 128.10.200 and 10.100 to communicate each other.

10.100 able to trace the server.
but when i tried to trace 10.100 network from the server it seems not work.

so tried in server:
route add 10.100.xxx.11 172.18.198.xxx
it shows network unreachable.

i'm very confusing now. it seems like must route to somewhere else then only get into 10.100 network.

i'm don't know what to do now.
need to configure in the switch or add some route in server?
need to add one machine in 172.18 or 128.10 network to handle some route?

no idea at all.

please help.

thanks
# 2  
Old 04-02-2006
Have you checked that forwarding is enabled? It's been a while since I last used Solaris (on my old Sun IPX), but I's hazard a guess that it's a similar process to Linux or BSD:

There's (hopefully) a file called 'ip_forward' in /proc/sys/net/ipv4 or somewhere like that.

If this file is not present, or contains '0', the kernel will not forward packets between interfaces. If so, 'echo 1 > ip_forward' should sort it out.
# 3  
Old 04-04-2006
I think I need to make it simple.

The server is 128.10.200.99 ; gateway is 128.10.19.1

The machine is 172.18.198.104 ; gateway is 172.18.19.1
Inside machine got 10.100.104.11 and 10.100.104.12

Can I add a route in server like below:
"route add 10.100.104.11 172.18.198.104"

it shows network unreachable since 172.18 is not a part of 128.10 network.
i need this kind of route.

all ip netmask 255.255.0.0
# 4  
Old 04-09-2006
hello,

if your 10.100.a.b behind somekind of NAT - you need to pass the traffic through a static port translation so your server can reach the other end.
a static route maybe wont do the trick.

cheers.

Last edited by stdout; 04-09-2006 at 03:55 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris Routing

Hello All, Problem is that redundancy doesn't work, probably a routing issue I need to get sorted out When 172.29.11.x net is down, neither node3 nor node4 is trying 172.29.12.x network,The problem lies in network 172.29.13.x if 172.29.11.x network is down, node3/node4 should route to... (6 Replies)
Discussion started by: nadeemahmed
6 Replies

2. Solaris

Routing problem

Hi, I have two physical interfaces on a servers. We have connected them to differerent subnets. 1) First interface: 10.158.49.87 to newtwork 10.158.49.0, its gateway is 10.158.49.1 (It is added as default gateway) It is existing set up. It works well 2) Second interface: ... (1 Reply)
Discussion started by: sri243
1 Replies

3. Solaris

solaris routing between two networks

ce0: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 2 inet 10.162.212.132 netmask ffffff00 broadcast 10.162.212.255 ether 0:14:4f:55:82:9 ce1: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 3 inet 10.231.11.232 netmask... (3 Replies)
Discussion started by: busyboy
3 Replies

4. IP Networking

solaris routing between two networks

ce0: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 2 inet 10.162.212.132 netmask ffffff00 broadcast 10.162.212.255 ether 0:14:4f:55:82:9 ce1: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 3 inet 10.231.11.232 netmask... (1 Reply)
Discussion started by: busyboy
1 Replies

5. Solaris

ip routing in solaris

I have a SUN ultra 5 machine running Solaris 6. it has two ethernet interfaces qe0 192.168.0.111 and qe1 192.168.1.111 the two subnets are 192.168.0.111 255.255.255.0 192.168.1.111 255.255.255.0 the specified routes are add route -net 192.168.0.0 255.255.255.0 192.168.0.111 add route... (3 Replies)
Discussion started by: adol65
3 Replies

6. Solaris

Routing problem of Solaris

Hi, I got problem of Sun Solaris 8 routing. IP of SunA is 10.16.64.164, and have routing table: 10.16.64.0 10.16.64.164 U 1 19236 bge1 10.6.0.0 10.6.0.3 U 1 16534 bge0 224.0.0.0 10.6.0.3 U 1 ... (4 Replies)
Discussion started by: milo
4 Replies

7. IP Networking

solaris 8 networking routing

hi all, how do i make sure that the new routing should take effect on the os memory right away? what should i run after i add all the new "route add ....". I have an example below: bash-2.03# netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface... (1 Reply)
Discussion started by: itik
1 Replies

8. IP Networking

Routing Problem

I have a question concerning networking. Could any forum members explain to me why I might be getting "no route to host" messages when I try to connect through ftp and http protocols? I have went to my etc/hosts file and everything seems to be configured properly. I can connect within my... (1 Reply)
Discussion started by: cstovall
1 Replies

9. IP Networking

routing problem

following Problem. I configured my SuSE Linux 8.0 as a router. I4l, named, ip_forward, iptables (NAT/MASQUERADING) are running or are aktivatet. I just can get a internet connection about the proxy server squid, but if i want to use other protocols i need functional routing. (I had this... (1 Reply)
Discussion started by: razor
1 Replies

10. IP Networking

Routing problem

Hi I know this problem is more likely some windows problem but it has also something to do with unix. We have a windows nt environment wich uses AIX (unix) machines as file servers (samba). In our windows network environment we nicely see al the unix file servers via the 10 MB network. Last... (2 Replies)
Discussion started by: Mark Detrez
2 Replies
Login or Register to Ask a Question