Networking Forums

Networking Forums > Computer Networking > Windows Networking > how to route through specific ip in Multiple IP on one NIC scenari

Reply
Thread Tools Display Modes

how to route through specific ip in Multiple IP on one NIC scenari

 
 
Valdas Adomaitis
Guest
Posts: n/a

 
      01-05-2010, 09:06 AM
Hello,

We have 2 VLANS:
VLAN 1 for switch management (192.168.1.0/24)
VLAN 2 for internal use (192.168.0.0/24)

There is a route made on a router (router is managed by another company)
that traffic from 192.168.0.240/32 (vlan2) would be routed to (vlan1)
192.168.1.0.

The purpose of this is that I could manage switches from any machine in my
production environment if i set the ip on it to 192.168.0.240.

I wanted to test if the route made on router by that other company is set
correctly. I connected to my server 192.168.0.250 and set an additional
static ip 192.168.0.240 - so that i could connect to switch management.
However outgoing connections are made from "primary" ip - 192.168.0.250.

i tried to add a static route on my server like that
route add 192.168.1.0 mask 255.255.255.0 192.168.0.240 metric 2

it accepts the input but route print command outputs:
192.168.1.0 255.255.255.0 192.168.0.250 192.168.0.250 2

so it disregards my wish that packets destined for 192.168.1.0 should
originate from 192.168.0.240 (additional static ip address)

Please advice


 
Reply With Quote
 
 
 
 
Phillip Windell
Guest
Posts: n/a

 
      01-05-2010, 03:49 PM
"Valdas Adomaitis" <(E-Mail Removed)> wrote in message
news:8A084AB9-20BC-4135-80D0-(E-Mail Removed)...
> so it disregards my wish that packets destined for 192.168.1.0 should
> originate from 192.168.0.240 (additional static ip address)


Exactly what it is supposed to do.

Secondary IP#s are used for incomming connections,...they are completetly
irrelevant with outbound connections. 90% of the time secondary IP#s on
regular LAN Hosts is pointless, and in some cases, simply a bad design, a
bad concept.

The *correct* approach is to choose one of these 2 options:

1. Have the "other company" change their device to allow *.250 instead of
*.240. If they are managing the router than that is what managing a router
means. If the config of the router needs to be changed to suit the
environment, then it is their job as "managers" of the router to perform it.

OR

2. Simply re-address your server to *.240 and forget it,...or use a
different machine in the first place that is already running on*.240.


--
Phillip Windell

The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------


 
Reply With Quote
 
Valdas Adomaitis
Guest
Posts: n/a

 
      01-06-2010, 09:13 PM
Thank you for your comment.

"Phillip Windell" wrote:

> "Valdas Adomaitis" <(E-Mail Removed)> wrote in message
> news:8A084AB9-20BC-4135-80D0-(E-Mail Removed)...
> > so it disregards my wish that packets destined for 192.168.1.0 should
> > originate from 192.168.0.240 (additional static ip address)

>
> Exactly what it is supposed to do.
>
> Secondary IP#s are used for incomming connections,...they are completetly
> irrelevant with outbound connections. 90% of the time secondary IP#s on
> regular LAN Hosts is pointless, and in some cases, simply a bad design, a
> bad concept.
>
> The *correct* approach is to choose one of these 2 options:
>
> 1. Have the "other company" change their device to allow *.250 instead of
> *.240. If they are managing the router than that is what managing a router
> means. If the config of the router needs to be changed to suit the
> environment, then it is their job as "managers" of the router to perform it.
>
> OR
>
> 2. Simply re-address your server to *.240 and forget it,...or use a
> different machine in the first place that is already running on*.240.
>
>
> --
> Phillip Windell
>
> The views expressed, are my own and not those of my employer, or Microsoft,
> or anyone else associated with me, including my cats.
> -----------------------------------------------------
>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having DCOM using a specific network route when multiple are avail Phil Windows Networking 1 11-23-2008 04:43 PM
Route traffic through specific interface on multi-homed server. jwilliams3034 Windows Networking 1 08-17-2007 06:44 PM
multiple bonds and specific settings (primary, mode...) Richard Linux Networking 0 04-27-2005 01:23 PM
Adding a persistant route with a specific interface =?Utf-8?B?TVBpcnJvbmUx?= Windows Networking 3 04-07-2005 11:08 AM
using iptables to route thru specific interface? Tobias Skytte Linux Networking 1 12-22-2003 05:40 PM



1 2 3 4 5 6 7 8 9 10 11