Routing across different subnets


 
Thread Tools Search this Thread
Special Forums IP Networking Routing across different subnets
# 1  
Old 07-22-2008
Routing across different subnets

I have a routing problem that I need to solve for both Windows and Linux.

In our test lab, I've set up a small network that is separated from the rest of the work by a firewall. One interface is on the 15.8.152 network, the other is on the 192.168.100 network.

I can already get to the 192.168.100 network from the 15.8.152 network, by virtual of the fact that one interface of the firewall is on that network.

I need to get to the 192.168.100 network from the 15.255.16 network. I do not have access to change any router configs on the 15.255.16.1 or 15.8.152.1 routers.

From a 15.155.16 system, I tried route add -net 192.168.100.0 netmask 255.255.255.0 gw 15.8.158.152 dev eth0 which gives me SIOCADDRT: Network is unreachable - I get a similar error when attempting to do this from a Windows box.

What I need to do is construct one or more "route add" commands to build the route, but I'm stumped.

Alternately, I have another linux box which has a interfaces on both the 15.255.16 and 15.8.152 networks - I imagine I could turn it into an alternative router to bybass the 15.255.16.1 and 15.8.152.1 routers.

Thoughts?

Image
# 2  
Old 07-28-2008
Stupid question, can you ping 15.8.158.152 from the 15.255.16.xxx machines?
# 3  
Old 07-28-2008
Quote:
Originally Posted by era
Stupid question, can you ping 15.8.158.152 from the 15.255.16.xxx machines?
Yes, you can.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

DNS and two subnets

Hi guys I started to work in a small company which doesn't have infrastructure and I need to built it. My problem is: I am a student with theoretical knowledge but without practical one so I don't have any ideas how to solve my problem. I installed on CentOS 6.4 DNS and DHCP. This... (1 Reply)
Discussion started by: solaris_user
1 Replies

2. Shell Programming and Scripting

Breaking out ip subnet to smaller subnets

I have a script and it works fine, but I am sure this can be shrunk down to something much better. I would appreciate someone taking a crack at it for me. What it does is take the ip block submitted and breaks it out down to /24's. #!/bin/ksh ipadd=${1} octet1=`echo $ipadd | nawk -F.... (3 Replies)
Discussion started by: numele
3 Replies

3. UNIX for Advanced & Expert Users

Rsyslog Monitoring Multiple Subnets

Hello, I have a rsyslog server configured on a server with two IP's on different Class C subnets. By default, it receives all logs from servers on these two subnets. The problem I have is that I want the Rsyslog server to monitor other subnets as well. Is there anyway to do this? I have searched... (0 Replies)
Discussion started by: mojoman
0 Replies

4. IP Networking

routing to two subnets from a multi-homed server

We have two subnets, say 'domA' (192.168.0.0/24) and 'domB' (10.10.0.0/16). These subnets are connected through the router 'router01'. One server 'base01' has two network cards, configured to domA and domB subnets respectively. Now let's consider a host host01.domA (192.168.0.5) trying to... (0 Replies)
Discussion started by: amriksk
0 Replies

5. IP Networking

Using 'whois' to Retrieve all IPs/Subnets for an Organization

I manage a spam filter for the organization I work for. I've been trying to get the others here to stop white listing by domain name since that can be easily spoofed. One of the obstacles, however, is that there doesn't seem to be an easy way to determine the legitimate outgoing SMTP server IP... (0 Replies)
Discussion started by: deckard
0 Replies

6. Solaris

Jumpstart server over Multiple subnets

Hi, I need some recommendations as to how I can create a single jumpstart server over multiple subnets and what would be the best physical server for this purpose. Thanks . (1 Reply)
Discussion started by: gunnervarma
1 Replies

7. UNIX for Advanced & Expert Users

solaris zones on different subnets

Greetings, Having an issue with a multihomed global zone hosting zones on different subnets. The issue is with the dev zone that is hosted on the non-default network. Any help, other than going to exclusive IP, as I have one card for admin ntwk for both zones, would be appreciated. ... (1 Reply)
Discussion started by: 22blaze
1 Replies

8. Solaris

Solaris as router between two subnets

I have two networks which is not connected to each other. Each network has its own internet connection. I also have one Solaris machine with two NICs connected to both of the networks. How do I use the Solaris to connect both network so that hosts from either side of the network can... (9 Replies)
Discussion started by: Ahmad Pakhri
9 Replies

9. AIX

Printing across subnets (Xerox)

All, I have a pSeries 550 and several Xerox printers I need to print to from there. I can define the printers via the Xerox "xpadmin" utility for all the machines locally (in my building, .244.xxx subnet), but if I go to a different subnet (say .131.xxx) I can not apply any changes. I can... (1 Reply)
Discussion started by: kjbaumann
1 Replies

10. UNIX for Advanced & Expert Users

communication problem between two subnets

We have two Sun Sparc systems running on the xxx.xxx.1.xxx network and can be access fine by machines on that subnet. We are able the ping one of the machines from the xxx.xxx.2.xxx network, but we are not able to ping or communicate with the other machine on the (1) subnet from the (2) subnet. ... (8 Replies)
Discussion started by: pyerj
8 Replies
Login or Register to Ask a Question