Network routing


 
Thread Tools Search this Thread
Operating Systems Solaris Network routing
# 1  
Old 10-09-2014
Network routing

hi,
not an expert in Solaris networking so would like to ask your opinions

Say i want to configure packet routing from source 10.126.120.130 (A) to destination 10.214.140.9 (B).

I configured it this way (shown in netstat -rn) on (B)

Code:
Destination        Gateway                 Interface
=======          =======                 ======
10.0.0.0           10.214.140.1
10.214.0.0        173.20.50.65
10.214.140.0     10.214.140.9           vmnet1

where vmnet1 has interface address 10.214.140.9.
May I know if I have configured it properly?
I want packets to go from (A) to (B).

thanks
# 2  
Old 10-13-2014
No need to apologise for not knowing. We all have to learn. Asking questions and showing your efforts is great. I hope that someone can help you as I'm guessing it's not working given that you are asking the question.

You are right that both ends will need to know how to send packets to the other, unless you are using UDP. The more usual TCP is a bit like sending a parcel with recorded-delivery so an acknowledgement is returned by the receiver. Using UDP is more like just sending a postcard and hoping from a holiday abroad it gets there.

I have two questions initially:-
  • Do you have a default route/gateway for all the traffic without a match in your list?
  • Can you give us the output from netstat -rn on server A too please?


Thanks, in advance,
Robin
# 3  
Old 10-14-2014
If you want packets to go from A to B, you should show us first the routing info on A, then B, and the netmasks. From what you show, A should be reachable from B.
Not knowing too much of "Solaris networking" either, that second line having an external gateway for an internal network surprises me a bit...
# 4  
Old 10-18-2014
Quote:
Originally Posted by rbatte1
I have two questions initially:-
  • Do you have a default route/gateway for all the traffic without a match in your list?


Thanks, in advance,
Robin
Thanks,

I find that there is no default router on B. What would happen if there is no defaultrouter defined?
# 5  
Old 10-18-2014
in simple words:
B does not know how to send packets to A

regards...
# 6  
Old 10-18-2014
I realise that I'm coming to this thread very late so what I write may not be relevant.

On a straightforward Solaris configuration the default router is defined in

Code:
/etc/defaultrouter

This file contains only the ip address of the default router on the first line of the file, left justified, so very easy to create manually and reboot. For example:

Code:
134.177.23.111


Then, faced with any request that it doesn't know where to send, the system will send it there.

Hope that helps.
# 7  
Old 10-18-2014
Just a comment, /etc/defaultrouter is deprecated and no more used with Solaris 11 and newer. It is still used with Solaris 10 though, which looks like what the OP is running.
These 2 Users Gave Thanks to jlliagre For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Network becomes slow and return fast only after restart network

Hi, I have 2 machines in production environment: 1. redhat machine for application 2. DB machine (oracle) The application doing a lot of small read&writes from and to the DB machine. The problem is that after some few hours the network from the application to the DB becomes very slow and... (4 Replies)
Discussion started by: moshesa
4 Replies

2. IP Networking

Test Network Routing Issues (FREEBSD and RHEL)

Hello, I'm attempting to setup a test network with a client-server based architecture using a proprietary application. The client works by communicating with the server on separate links (typically cellular connections) and then initiates a tunnel over each active link. However, in place of the... (0 Replies)
Discussion started by: shadyuk
0 Replies

3. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

4. IP Networking

Test network routing algourithm

hi, I've wrote my own network routing algorithm in java, now i wanna test it and see if it works correctly, also i wanna test it's performance in comparison with other network routing algorithms like RIP. can anyone tell me how can i do this? is there any simulator or something for network routing... (0 Replies)
Discussion started by: gongotar
0 Replies

5. IP Networking

Routing traffic problem between 3G and Office Lan Network

Hi, I would like to ask some networking solution regarding my work LAN and 3G usb network problem. I want to route my internet traffic to the 3G network and sometimes connect to some of my work network for ssh to configure some workstation or print something. Currently my problem is i can't... (0 Replies)
Discussion started by: jao_madn
0 Replies

6. Solaris

Network cards - Routing

Hi all I hate networking, I hate everything to do with it. Its something I do in anger in one contract, then forget. This is more of a question / than a problem. So, on a solaris 10 server, using older qfe cards, Ive got a sun truck with 4 nics (qfe0,3,4,7), and a ipmp pair (hemo0,qfe1).... (2 Replies)
Discussion started by: sbk1972
2 Replies

7. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

8. UNIX for Dummies Questions & Answers

Need help to configure routing on home network

I have a Windows laptop and a Sparc desktop. I'm trying to toy around with routing. If have always on broadband from BT. My router ipaddress is: 192.168.1.1 This router uses DHCP. My Laptop Ip is as follows: Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . :... (2 Replies)
Discussion started by: Kongowea
2 Replies

9. IP Networking

Routing Network Traffic With Mandrake

I am running Mandrake 8.0 (KDE ver 2.1.1) on a machine with 2 NICs. This is a college project. I am attempting to configure this machine as a firewall, and to pass packets from one network to another. Eth0 is on my external network. Eth1 is on my internal network. I set the gateway in "netconf"... (1 Reply)
Discussion started by: Deuce
1 Replies
Login or Register to Ask a Question