routing help pls


 
Thread Tools Search this Thread
Special Forums IP Networking routing help pls
# 1  
Old 09-10-2010
routing help pls

Hi need to add 2 routes, one on each server.
I know the route add comand but I have always been given the parameters to put in.

I need a route in each of the 2 following servers to be able to ping and ssh between them. But how do i know which netmask to put in the route add command ?
In server4 i would like to use interface ce0
in server3 i would like to use interface ce1

I would apreciate very much if some one could explain how to do it
beacuse it`s a mystery to me.
Also the actual route add comand would be apreciated since im running out of time.

Below is actual config that does not permit ping between servers.
server4
Code:
netstat -nrv
   IRE Table: IPv4
    Destination             Mask           Gateway          Device Mxfrg Rtt   Ref Flg  Out  In/Fwd
  -------------------- --------------- -------------------- ------ ----- ----- --- --- ----- ------
  10.21.124.176        255.255.255.240 10.21.124.181        ce1     1500*    0   1 U     1988     0
  10.21.125.32         255.255.255.224 10.21.125.47         ce0     1500*    0   1 U   2218473     0
  10.6.4.0             255.255.255.192 10.21.124.177                1500*    0   1 UG      10     0
  10.21.124.0          255.255.255.0   10.21.124.177                1500*    0   1 UG       2     0
  224.0.0.0            240.0.0.0       10.21.125.47         ce0     1500*    0   1 U        0     0
  default              0.0.0.0         10.21.125.33                 1500*    0   1 UG      28     0
  127.0.0.1            255.255.255.255 127.0.0.1            lo0     8232*    0  64 UH  5319204     0

      # ifconfig -a
  lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
          inet 127.0.0.1 netmask ff000000
  ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
          inet 10.21.125.47 netmask ffffffe0 broadcast 10.21.125.63
          ether 0:3:ba:9:df:4c
  
  ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
          inet 10.21.124.181 netmask fffffff0 broadcast 10.21.124.191
          ether 0:3:ba:9:df:4c

server3

Code:
netstat -rnv
   
  IRE Table: IPv4
    Destination             Mask           Gateway          Device Mxfrg  Rtt  Ref Flg  Out  In/Fwd
  -------------------- --------------- -------------------- ------ ----- ----- --- --- ----- ------
  62.87.106.227        255.255.255.255 10.6.129.1                   1500*    0   1 UGH      0     0
  77.209.8.21          255.255.255.255 10.6.129.1                   1500*    0   1 UGH      0     0
  62.87.57.114         255.255.255.255 10.6.129.1                   1500*    0   1 UGH      0     0
  77.209.25.64         255.255.255.255 10.6.129.1                   1500*    0   1 UGH      0     0
  77.209.6.127         255.255.255.255 10.6.129.1                   1500*    0   1 UGH      0     0
  10.21.125.41         255.255.255.255 10.6.129.1                   1500*    0   1 UGH   5220     0
  10.21.103.22         255.255.255.255 10.6.129.1                   1500*    0   1 UGH    700     0
  172.21.140.90        255.255.255.255 10.6.129.1                   1500*    0   1 UGH      0     0
  212.73.42.196        255.255.255.255 10.6.129.1                   1500*    0   1 UGH      0     0
  172.21.140.0         255.255.255.255 10.6.129.1                   1500*    0   1 UGH      0     0
  212.59.216.238       255.255.255.255 10.6.129.1                   1500*    0   1 UGH      0     0
  10.10.19.32          255.255.255.240 10.6.129.1                   1500*    0   1 UG       0     0
  10.21.125.32         255.255.255.224 10.6.129.1                   1500*    0   1 UG       1     0
  10.6.131.160         255.255.255.224 10.6.129.1                   1500*    0   1 UG      10     0
  10.6.4.0             255.255.255.192 10.6.0.129                   1500*    0   1 UG   25011     0
  10.6.0.128           255.255.255.192 10.6.0.148           ce0     1500*    0   1 U     5930     0
  10.6.131.0           255.255.255.128 10.6.129.1                   1500*    0   1 UG     149     0
  172.21.184.0         255.255.255.0   10.6.129.1                   1500*    0   1 UG       0     0
  10.10.98.0           255.255.255.0   10.6.129.1                   1500*    0   1 UG       0     0
  10.10.198.0          255.255.255.0   10.6.129.1                   1500*    0   1 UG     224     0
  10.10.6.0            255.255.255.0   10.6.129.1                   1500*    0   1 UG    7763     0
  10.6.132.0           255.255.255.0   10.6.129.1                   1500*    0   1 UG    6726     0
  10.6.129.0           255.255.255.0   10.6.129.33          ce1     1500*    0   1 U    14534     0
  10.6.129.0           255.255.255.0   10.6.129.1                   1500*    0   1 UG       0     0
  10.6.130.0           255.255.255.0   10.6.129.1                   1500*    0   1 UG      27     0
  16.16.113.0          255.255.255.0   10.6.129.1                   1500*    0   1 UG       0     0
  172.24.1.0           255.255.255.0   10.6.129.1                   1500*    0   1 UG       1     0
  172.21.140.0         255.255.255.0   10.6.129.1                   1500*    0   1 UG       0     0
  172.20.32.0          255.255.255.0   10.6.129.1                   1500*    0   1 UG       0     0
  172.21.160.0         255.255.255.0   10.6.129.1                   1500*    0   1 UG       0     0
  172.16.0.0           255.240.0.0     10.6.129.1                   1500*    0   1 UG    1916     0
  224.0.0.0            240.0.0.0       10.6.0.148           ce0     1500*    0   1 U        0     0
  default              0.0.0.0         10.6.0.129                   1500*    0   1 UG    8490     0
  127.0.0.1            255.255.255.255 127.0.0.1            lo0     8232*    0 134 UH  55887045     0

      ifconfig -a
  lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
          inet 127.0.0.1 netmask ff000000
  ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
          inet 10.6.0.148 netmask ffffffc0 broadcast 10.6.0.191
          ether 0:14:4f:44:dc:94
  
  ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
          inet 10.6.129.33 netmask ffffff00 broadcast 10.6.129.255
          ether 0:14:4f:44:dc:94

Thanks to every one that takes time to respond.
/Jan
# 2  
Old 09-10-2010
continue here:
Add route to solaris10
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

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) Destination Gateway Interface... (7 Replies)
Discussion started by: ghostdog74
7 Replies

2. Linux

ipv6 routing

I am trying to capture the ipv6 packets through pcap utility. For that i am redirecting the ipv6 packets to the loopback address , but the ipv6 packets are not getting redirected to tha loopback address.Instead they are taking there normal routes. (1 Reply)
Discussion started by: vikasmca05
1 Replies

3. IP Networking

Need help configuring routing

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... (1 Reply)
Discussion started by: Kongowea
1 Replies

4. IP Networking

IP Routing

I am using RedHat Linux 9, In this box their are two lan intefaces. eth0 ====> LAN 192.168.100.100 255.255.255.0 eth1 ====> Internet Static IP 255.255.255.0 59.144.168.226 (Gateway) I want to define a gateway 59.144.168.226 for my LAN... (2 Replies)
Discussion started by: jaibw
2 Replies

5. Linux

Routing

Hello Friends I have two network cards eth0 192.168.100.1 eth1 10.0.0.1 There NIC connect with diff. LAN I want to make my Linux machine as a Router, Please tell me using IPTABLES command ROUTE command :) (2 Replies)
Discussion started by: jaibw
2 Replies

6. UNIX for Advanced & Expert Users

routing

Hi, in which file and how shuold be decalred a gateway and its IP adresse ? Where and how add a gateway ? Many thanks before. (4 Replies)
Discussion started by: big123456
4 Replies

7. IP Networking

Ip routing table

hi all, how to access ip routing table throgh program, how should i integrate my rip routing table with the ip routing table :) (0 Replies)
Discussion started by: vinodkumar
0 Replies

8. UNIX for Dummies Questions & Answers

routing

Can anyone help with the following; I am working on a unix server (Apple OS X Server). We have two network cards in the server. Both cards are on different subnets i.e en1 is on 192.168.10.10/24 and the built in ethernet is on 10.10.150.10/24. From a computer plugged into en1 (and set to ip... (5 Replies)
Discussion started by: mrthrt
5 Replies

9. IP Networking

Routing

ok i configured my gateway and IP address(es) using ifconfig and route.. but how can i bind unique IPs to users ? (im using FreeBSD 4.2 RELEASE #3) (9 Replies)
Discussion started by: DevilGREEN
9 Replies

10. IP Networking

Routing

I have SCO Unix. I have 2 routers. as it is now, when someone telnets to UNIX and goes through router #1 everything is fine. The users who go through router #2 can not connect at all. I talked to CISCO and they said I need to set up a second Gateway on UNIX. They said what is happening is that... (1 Reply)
Discussion started by: john fli
1 Replies
Login or Register to Ask a Question