| Home | Register | Members | Search | Links |
![]() |
| Thread Tools | Display Modes |
|
|
|
| |
|
Miha Pihler
Guest
Posts: n/a
|
Hi Andrew,
You haven't told us the subnet mask that you use (in this case, this would be very important information). If you decided to use default subnet mask for 192.168.x.x network that would be 255.255.255.0 (or 24 bit subnet mask). If we look at an example one subnet would be: 192.168.1.1 - 192.168.1.255 with 24 bit subnet mask. Second subnet would in this case be 192.168.2.1 - 192.168.2.255 with 24 bit subnet mask Third subnet would in this case be 192.168.3.1 - 192.168.3.255 with 24 bit subnet mask .... .. .. .. 192.168.26.1 - 192.168.26.255 with 24 bit subnet mask .. .. .. 192.168.255.1 - 192.168.255.255 with 24 bit subnet mask. In this case computers and devices in 192.168.1.x network will need a gateway on 192.168.1.x subnet. Computers and devices in 192.168.2.x network will need their gateway on 192.168.2.x subnet or will not be able to connect to 192.168.1.x network (or anything outside 192.168.2.x network). And computers and devices in 192.168.26.x network will need their gateway on 192.168.26.x subnet... Gateway _must_ always be on same subnet as computers/devices are... If you have a server with 3 NIC with IPs 192.168.1.1 and 192.168.2.1 and 192.168.26.1 this server will be able to connect to all three networks (but only this server/device). It will use information from the NIC to build a routing table. Such servers (and Windows computer) can have only one default gateway. This would be the NIC that leads e.g. to the internet. E.g. if your NIC 192.168.1.1 would be connected to the router that lead to the internet this NIC would have a gateway. Mike "andrew" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > hi, > I have 2 network 192.168.1.1 and 192.168.26.1 connected together by router. > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which is used > by some > device. From 192.168.1.1 I can access that device since I checked IP routing > on that sever > and use 192.168.1.1 as a gateway, but I cannot access that device from the > second 192.168.26.1 network. Can somebody help? I cannot use the same > gateway since this is different network. > > |
|
|
|
|
|||
|
|||
|
andrew
Guest
Posts: n/a
|
"Miha Pihler" <mihap-(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Hi Andrew, > > You haven't told us the subnet mask that you use (in this case, this would > be very important information). > > If you decided to use default subnet mask for 192.168.x.x network that would > be 255.255.255.0 (or 24 bit subnet mask). If we look at an example one > subnet would be: > 192.168.1.1 - 192.168.1.255 with 24 bit subnet mask. Second subnet would in > this case be > 192.168.2.1 - 192.168.2.255 with 24 bit subnet mask Third subnet would in > this case be > 192.168.3.1 - 192.168.3.255 with 24 bit subnet mask .... > . > . > . > 192.168.26.1 - 192.168.26.255 with 24 bit subnet mask > . > . > . > 192.168.255.1 - 192.168.255.255 with 24 bit subnet mask. > > In this case computers and devices in 192.168.1.x network will need a > gateway on 192.168.1.x subnet. Computers and devices in 192.168.2.x network > will need their gateway on 192.168.2.x subnet or will not be able to connect > to 192.168.1.x network (or anything outside 192.168.2.x network). And > computers and devices in 192.168.26.x network will need their gateway on > 192.168.26.x subnet... > > Gateway _must_ always be on same subnet as computers/devices are... > > If you have a server with 3 NIC with IPs 192.168.1.1 and 192.168.2.1 and > 192.168.26.1 this server will be able to connect to all three networks (but > only this server/device). It will use information from the NIC to build a > routing table. > > Such servers (and Windows computer) can have only one default gateway. This > would be the NIC that leads e.g. to the internet. E.g. if your NIC > 192.168.1.1 would be connected to the router that lead to the internet this > NIC would have a gateway. > > Mike > > "andrew" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... > > hi, > > I have 2 network 192.168.1.1 and 192.168.26.1 connected together by > router. > > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which is > used > > by some > > device. From 192.168.1.1 I can access that device since I checked IP > routing > > on that sever > > and use 192.168.1.1 as a gateway, but I cannot access that device from the > > second 192.168.26.1 network. Can somebody help? I cannot use the same > > gateway since this is different network. > > > > > > |
|
|
|
|
|||
|
|||
|
andrew
Guest
Posts: n/a
|
Hi Mike,
I use gateway 255.255.255.0 in both. The 192.168.26.1 is not on the server, this is separated remote network with router( GW 192.168.26.1) The problem is what gateway use to get to 192.168.2.1 network. I use 192.168.26.1 GW to get to 192.168.1.1 and this work. The NIC 192.168.2.1 is on the server 192.168.1.1 (second NIC) thanks, Andrew "Miha Pihler" <mihap-(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Hi Andrew, > > You haven't told us the subnet mask that you use (in this case, this would > be very important information). > > If you decided to use default subnet mask for 192.168.x.x network that would > be 255.255.255.0 (or 24 bit subnet mask). If we look at an example one > subnet would be: > 192.168.1.1 - 192.168.1.255 with 24 bit subnet mask. Second subnet would in > this case be > 192.168.2.1 - 192.168.2.255 with 24 bit subnet mask Third subnet would in > this case be > 192.168.3.1 - 192.168.3.255 with 24 bit subnet mask .... > . > . > . > 192.168.26.1 - 192.168.26.255 with 24 bit subnet mask > . > . > . > 192.168.255.1 - 192.168.255.255 with 24 bit subnet mask. > > In this case computers and devices in 192.168.1.x network will need a > gateway on 192.168.1.x subnet. Computers and devices in 192.168.2.x network > will need their gateway on 192.168.2.x subnet or will not be able to connect > to 192.168.1.x network (or anything outside 192.168.2.x network). And > computers and devices in 192.168.26.x network will need their gateway on > 192.168.26.x subnet... > > Gateway _must_ always be on same subnet as computers/devices are... > > If you have a server with 3 NIC with IPs 192.168.1.1 and 192.168.2.1 and > 192.168.26.1 this server will be able to connect to all three networks (but > only this server/device). It will use information from the NIC to build a > routing table. > > Such servers (and Windows computer) can have only one default gateway. This > would be the NIC that leads e.g. to the internet. E.g. if your NIC > 192.168.1.1 would be connected to the router that lead to the internet this > NIC would have a gateway. > > Mike > > "andrew" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... > > hi, > > I have 2 network 192.168.1.1 and 192.168.26.1 connected together by > router. > > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which is > used > > by some > > device. From 192.168.1.1 I can access that device since I checked IP > routing > > on that sever > > and use 192.168.1.1 as a gateway, but I cannot access that device from the > > second 192.168.26.1 network. Can somebody help? I cannot use the same > > gateway since this is different network. > > > > > > |
|
|
|
|
|||
|
|||
|
Miha Pihler
Guest
Posts: n/a
|
Andrew,
> I use gateway 255.255.255.0 in both. You mean you use subnet mask 255.255.255.0? > The 192.168.26.1 is not on the server, this is separated remote network with router( GW 192.168.26.1) The problem > is what gateway use to get to 192.168.2.1 network. I use 192.168.26.1 GW to get to 192.168.1.1 and this work. > The NIC 192.168.2.1 is on the server 192.168.1.1 (second NIC) thanks, Andrew It is quite hard to give you any solid advice. When accessing 192.168.2.0 network from 192.168.26.0 network you will use same gateway as you already do. How is your router configured? What are IP numbers assigned to your router? One is 192.168.26.1. What is the other? Is it 192.168.1.x? If so, you will need to add another network card to your router and configure it with 192.168.2.x IP. Then you will need to connect this NIC in router with second NIC in your server. After you do this, you may need to add a static route to 192.168.2.0 network... Mike |
|
|
|
|
|||
|
|||
|
Dana Brash
Guest
Posts: n/a
|
Hi Andrew,
>>I have 2 network 192.168.1.1 and 192.168.26.1 connected together by >> router. Actually, these are HOST addresses, not NETWORK addresses. But working with the concept that we've got two subnets 192.168.1.x/24 and 192.168.26.x/24, you could accomplish this a couple different ways. The first diagram below shows a literal interpretation of this statement. The second diagram shows a different way that you could accomplish this. These are by no means the only ways to do it.... If your config is different, please point out where. >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which is >> used >> > by some >> > device. What is that device? a printer? Wireless AP? Another comptuer? What is it's purpose? Not terribly important, but may be helpful to know... >> >From 192.168.1.1 I can access that device since I checked IP >> routing >> > on that sever Again, I will assume that this means from the 192.168.1.x/24 subnet you can access the 192.168.2.x/24 subnet How have you enabled routing on this device? Are you using RRAS? Static Routes? >> > and use 192.168.1.1 as a gateway, As far as I can tell, this HOST IP address should be the private side of your Internet Router, and not related to routing between the two internal subnets >> >but I cannot access that device from > the >> > second 192.168.26.1 network. Right, you need to add the routes. Below are some example setups, but again, I'm not too sure how you've got your topology configured. Again, there are many ways to accomplish what you're trying to do. Please help us understand what you've actually done. Feel free to modify the diagrams to draw us a picture. HTH, =d= -- Dana Brash MCSE, MCDBA, MCSA (E-Mail Removed) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In this diagram for packets from 192.168.26.x to reach 192.168.2.x, the router needs to have a route entry that directs traffic to the 192.168.2.x/24 network via the 192.168.1.11 Gateway using ETH0 ("/24" = "24 bit" = "255.255.255.0" subnet mask) ************************************************** ****** _____________ | Some Device | |____________| | 192.168.2.??/24 | | NIC2 192.168.2.x/24 _|_ | | | | first server (Actually a router also) |__| | NIC1 192.168.1.11/24 | | 192.168.1.1/24 (let's say ETH0) ____|______ | ROUTER |----/\/\/---(ETH2)---/\/\/---->> INTERNET |__________| 192.168.26.1/24 (let's say ETH1) | | 192.168.26.x/24 ************************************************** ****** In this diagram for packets from 192.168.26.x to reach 192.168.2.x, ROUTER-2 will have a Route from 192.168.26.x/24 -> 192.168.2.x/24 via 192.168.1.11 Gateway using Interface 192.168.1.12 (RT2_ETH0). There will also be a default route on Router2 that uses ROUTER1 ETH0 as the default gateway. ================================================== ========================= ON ROUTER2: Network Destination Netmask Gateway Interface Metric . . 192.168.2.0 255.255.255.0 192.168.1.11 192.168.1.12 ?? . . Default Gateway: 192.168.1.1 ================================================== ========================= ************************************************** ****** _____________ | Some Device | |____________| | 192.168.2.??/24 | | Server_NIC2 192.168.2.x/24 _|_ | | | | first server (Actually a router also) |__| | Server_NIC1 192.168.1.11/24 | | ____\/____ __________ | Switch |--(RT1_ETH0)-->| ROUTER1 | --(RT1_ETH1)----->> INTERNET |________| 192.168.1.1/24 |__________| PUBLIC IP ^ | | 192.168.1.12/24(let's say RT2_ETH0) | ____\/______ | ROUTER 2 | |__________| | 192.168.26.1/24 (let's say RT2_ETH1) | | 192.168.26.x/24 ************************************************** ****** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -- Dana Brash MCSE, MCDBA, MCSA (E-Mail Removed) "andrew" <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)... > Hi Mike, > I use gateway 255.255.255.0 in both. The 192.168.26.1 is not on the > server, > this is separated remote network with router( GW 192.168.26.1) The > problem > is what gateway use to get to 192.168.2.1 network. I use 192.168.26.1 GW > to > get to 192.168.1.1 and this work. > The NIC 192.168.2.1 is on the server 192.168.1.1 (second NIC) > thanks, Andrew > > "Miha Pihler" <mihap-(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... >> Hi Andrew, >> >> You haven't told us the subnet mask that you use (in this case, this >> would >> be very important information). >> >> If you decided to use default subnet mask for 192.168.x.x network that > would >> be 255.255.255.0 (or 24 bit subnet mask). If we look at an example one >> subnet would be: >> 192.168.1.1 - 192.168.1.255 with 24 bit subnet mask. Second subnet would > in >> this case be >> 192.168.2.1 - 192.168.2.255 with 24 bit subnet mask Third subnet would in >> this case be >> 192.168.3.1 - 192.168.3.255 with 24 bit subnet mask .... >> . >> . >> . >> 192.168.26.1 - 192.168.26.255 with 24 bit subnet mask >> . >> . >> . >> 192.168.255.1 - 192.168.255.255 with 24 bit subnet mask. >> >> In this case computers and devices in 192.168.1.x network will need a >> gateway on 192.168.1.x subnet. Computers and devices in 192.168.2.x > network >> will need their gateway on 192.168.2.x subnet or will not be able to > connect >> to 192.168.1.x network (or anything outside 192.168.2.x network). And >> computers and devices in 192.168.26.x network will need their gateway on >> 192.168.26.x subnet... >> >> Gateway _must_ always be on same subnet as computers/devices are... >> >> If you have a server with 3 NIC with IPs 192.168.1.1 and 192.168.2.1 and >> 192.168.26.1 this server will be able to connect to all three networks > (but >> only this server/device). It will use information from the NIC to build a >> routing table. >> >> Such servers (and Windows computer) can have only one default gateway. > This >> would be the NIC that leads e.g. to the internet. E.g. if your NIC >> 192.168.1.1 would be connected to the router that lead to the internet > this >> NIC would have a gateway. >> >> Mike >> >> "andrew" <(E-Mail Removed)> wrote in message >> news:(E-Mail Removed)... >> > hi, >> > I have 2 network 192.168.1.1 and 192.168.26.1 connected together by >> router. >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which is >> used >> > by some >> > device. From 192.168.1.1 I can access that device since I checked IP >> routing >> > on that sever >> > and use 192.168.1.1 as a gateway, but I cannot access that device from > the >> > second 192.168.26.1 network. Can somebody help? I cannot use the same >> > gateway since this is different network. >> > >> > >> >> > > |
|
|
|
|
|||
|
|||
|
andrew
Guest
Posts: n/a
|
Hi Dana,
here is like it looks: _____________ | video recording dev| |____________| | 192.168.2.2 (static) | | NIC2 192.168.2.1 _|_ | | | | first server (Actually a router also) |____| WinNT4.0 IP routing enable (checkbox) | NIC1 192.168.1.1 | 192.168.1.1/24 (in this network I added using route command ![]() ____|______ route add 192.168.2.0 mask 255.255.255.0 192.168.1.1 and works | ROUTER | |__________| 192.168.26.1/24 | | 192.168.26.x/24 (no dhcp) (from this network main server is accessed through GW 192.168.26.1) in that network I cannot of course add gatway 192.168.1.1 directly, and thats my problem. so how to routr this. without adding additional NIC (not possible) thanks, Andrew "Dana Brash" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Hi Andrew, > > >>I have 2 network 192.168.1.1 and 192.168.26.1 connected together by > >> router. > > Actually, these are HOST addresses, not NETWORK addresses. > But working with the concept that we've got two subnets 192.168.1.x/24 and > 192.168.26.x/24, you could accomplish this a couple different ways. The > first diagram below shows a literal interpretation of this statement. The > second diagram shows a different way that you could accomplish this. These > are by no means the only ways to do it.... > If your config is different, please point out where. > > >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which is > >> used > >> > by some > >> > device. > > What is that device? a printer? Wireless AP? Another comptuer? What is it's > purpose? > Not terribly important, but may be helpful to know... > > >> >From 192.168.1.1 I can access that device since I checked IP > >> routing > >> > on that sever > > Again, I will assume that this means from the 192.168.1.x/24 subnet you can > access the 192.168.2.x/24 subnet > How have you enabled routing on this device? Are you using RRAS? Static > Routes? > > >> > and use 192.168.1.1 as a gateway, > As far as I can tell, this HOST IP address should be the private side of > your Internet Router, and not related to routing between the two internal > subnets > > >> >but I cannot access that device from > > the > >> > second 192.168.26.1 network. > Right, you need to add the routes. > > > Below are some example setups, but again, I'm not too sure how you've got > your topology configured. > Again, there are many ways to accomplish what you're trying to do. Please > help us understand what you've actually done. Feel free to modify the > diagrams to draw us a picture. > > HTH, > =d= > > -- > Dana Brash > MCSE, MCDBA, MCSA > > (E-Mail Removed) > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ > > In this diagram for packets from 192.168.26.x to reach 192.168.2.x, the > router needs to have a route entry that directs traffic to the > 192.168.2.x/24 network via the 192.168.1.11 Gateway using ETH0 > ("/24" = "24 bit" = "255.255.255.0" subnet mask) > > ************************************************** ****** > _____________ > | Some Device | > |____________| > | > 192.168.2.??/24 > | > | > NIC2 > 192.168.2.x/24 > _|_ > | | > | | first server (Actually a router also) > |__| > | > NIC1 > 192.168.1.11/24 > | > | > 192.168.1.1/24 (let's say ETH0) > ____|______ > | ROUTER |----/\/\/---(ETH2)---/\/\/---->> INTERNET > |__________| > 192.168.26.1/24 (let's say ETH1) > | > | > 192.168.26.x/24 > ************************************************** ****** > > > > In this diagram for packets from 192.168.26.x to reach 192.168.2.x, ROUTER-2 > will have a Route from 192.168.26.x/24 -> 192.168.2.x/24 via 192.168.1.11 > Gateway using Interface 192.168.1.12 (RT2_ETH0). > There will also be a default route on Router2 that uses ROUTER1 ETH0 as the > default gateway. > ================================================== ========================= > ON ROUTER2: > Network Destination Netmask Gateway Interface > Metric > . . > 192.168.2.0 255.255.255.0 192.168.1.11 192.168.1.12 > ?? > . . > Default Gateway: 192.168.1.1 > ================================================== ========================= > > ************************************************** ****** > _____________ > | Some Device | > |____________| > | > 192.168.2.??/24 > | > | > Server_NIC2 > 192.168.2.x/24 > _|_ > | | > | | first server (Actually a router also) > |__| > | > Server_NIC1 > 192.168.1.11/24 > | > | > ____\/____ __________ > | Switch |--(RT1_ETH0)-->| ROUTER1 | --(RT1_ETH1)----->> INTERNET > |________| 192.168.1.1/24 |__________| PUBLIC IP > ^ > | > | > 192.168.1.12/24(let's say RT2_ETH0) > | > ____\/______ > | ROUTER 2 | > |__________| > | > 192.168.26.1/24 (let's say RT2_ETH1) > | > | > 192.168.26.x/24 > ************************************************** ****** > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ > > > > -- > Dana Brash > MCSE, MCDBA, MCSA > > (E-Mail Removed) > > "andrew" <(E-Mail Removed)> wrote in message > news:%(E-Mail Removed)... > > Hi Mike, > > I use gateway 255.255.255.0 in both. The 192.168.26.1 is not on the > > server, > > this is separated remote network with router( GW 192.168.26.1) The > > problem > > is what gateway use to get to 192.168.2.1 network. I use 192.168.26.1 GW > > to > > get to 192.168.1.1 and this work. > > The NIC 192.168.2.1 is on the server 192.168.1.1 (second NIC) > > thanks, Andrew > > > > "Miha Pihler" <mihap-(E-Mail Removed)> wrote in message > > news:(E-Mail Removed)... > >> Hi Andrew, > >> > >> You haven't told us the subnet mask that you use (in this case, this > >> would > >> be very important information). > >> > >> If you decided to use default subnet mask for 192.168.x.x network that > > would > >> be 255.255.255.0 (or 24 bit subnet mask). If we look at an example one > >> subnet would be: > >> 192.168.1.1 - 192.168.1.255 with 24 bit subnet mask. Second subnet would > > in > >> this case be > >> 192.168.2.1 - 192.168.2.255 with 24 bit subnet mask Third subnet would in > >> this case be > >> 192.168.3.1 - 192.168.3.255 with 24 bit subnet mask .... > >> . > >> . > >> . > >> 192.168.26.1 - 192.168.26.255 with 24 bit subnet mask > >> . > >> . > >> . > >> 192.168.255.1 - 192.168.255.255 with 24 bit subnet mask. > >> > >> In this case computers and devices in 192.168.1.x network will need a > >> gateway on 192.168.1.x subnet. Computers and devices in 192.168.2.x > > network > >> will need their gateway on 192.168.2.x subnet or will not be able to > > connect > >> to 192.168.1.x network (or anything outside 192.168.2.x network). And > >> computers and devices in 192.168.26.x network will need their gateway on > >> 192.168.26.x subnet... > >> > >> Gateway _must_ always be on same subnet as computers/devices are... > >> > >> If you have a server with 3 NIC with IPs 192.168.1.1 and 192.168.2.1 and > >> 192.168.26.1 this server will be able to connect to all three networks > > (but > >> only this server/device). It will use information from the NIC to build a > >> routing table. > >> > >> Such servers (and Windows computer) can have only one default gateway. > > This > >> would be the NIC that leads e.g. to the internet. E.g. if your NIC > >> 192.168.1.1 would be connected to the router that lead to the internet > > this > >> NIC would have a gateway. > >> > >> Mike > >> > >> "andrew" <(E-Mail Removed)> wrote in message > >> news:(E-Mail Removed)... > >> > hi, > >> > I have 2 network 192.168.1.1 and 192.168.26.1 connected together by > >> router. > >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which is > >> used > >> > by some > >> > device. From 192.168.1.1 I can access that device since I checked IP > >> routing > >> > on that sever > >> > and use 192.168.1.1 as a gateway, but I cannot access that device from > > the > >> > second 192.168.26.1 network. Can somebody help? I cannot use the same > >> > gateway since this is different network. > >> > > >> > > >> > >> > > > > > > |
|
|
|
|
|||
|
|||
|
Dana Brash
Guest
Posts: n/a
|
Hi Andrew,
Thanks for the map. One thing that I would like to make very sure you understand is that when you add a route, you are not adding it to a network, you are adding it to the routing table on a host. I realize this may be a language issue, and I certainly don't mean to criticize at all, but the difference between a host and a network is a very important distinction in IP address configuration. On your diagram, you show that the 192.168.1.0/24 subnet has two devices using the same IP address. You show the NT server as using 192.168.1.1 and the Router as using 192.168.1.1. This will create terrible conflicts and nothing should work on that subnet. Each device needs to have a unique IP. For further troubleshooting, please post back here the results from: 1. ROUTE PRINT on NT4 Please open a command window on the NT4 machine and copy the results of a ROUTE PRINT and post it back here. 2. ROUTE PRINT on router (or otherwise grab the route table) What kind of machine is the other Router? Is it also a Windows machine, or Linux, or hardware appliance, or? Please post the route table from this device also. 3. tracert -d 192.168.2.2 from host on 192.168.26.0/24 subnet Finally, from a device on the 192.168.26.0/24 subnet please run a tracert -d 192.168.2.2 command and post the results from that up here as well. You do not need any additional NIC in this environment, it's all configuration, not hardware. I am curious, however, why there is no Internet access shown in the diagram? Are there possibly some WAN connections in here that are VPN'd or something? -- HTH, =d= Dana Brash MCSE, MCDBA, MCSA (E-Mail Removed) "andrew" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Hi Dana, > here is like it looks: > _____________ > | video recording dev| > |____________| > | > 192.168.2.2 (static) > | > | > NIC2 > 192.168.2.1 > _|_ > | | > | | first server (Actually a router also) > |____| WinNT4.0 IP routing enable (checkbox) > | > NIC1 > 192.168.1.1 > | > 192.168.1.1/24 (in this network I added using route command ![]() > ____|______ route add 192.168.2.0 mask 255.255.255.0 192.168.1.1 > and > works > | ROUTER | > |__________| > 192.168.26.1/24 > | > | > 192.168.26.x/24 (no dhcp) > (from this network main server is accessed through GW 192.168.26.1) > in that network I cannot of course add gatway 192.168.1.1 directly, and > thats my problem. > so how to routr this. without adding additional NIC (not possible) > thanks, Andrew > > > > > "Dana Brash" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... >> Hi Andrew, >> >> >>I have 2 network 192.168.1.1 and 192.168.26.1 connected together by >> >> router. >> >> Actually, these are HOST addresses, not NETWORK addresses. >> But working with the concept that we've got two subnets 192.168.1.x/24 >> and >> 192.168.26.x/24, you could accomplish this a couple different ways. The >> first diagram below shows a literal interpretation of this statement. >> The >> second diagram shows a different way that you could accomplish this. > These >> are by no means the only ways to do it.... >> If your config is different, please point out where. >> >> >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which > is >> >> used >> >> > by some >> >> > device. >> >> What is that device? a printer? Wireless AP? Another comptuer? What is > it's >> purpose? >> Not terribly important, but may be helpful to know... >> >> >> >From 192.168.1.1 I can access that device since I checked IP >> >> routing >> >> > on that sever >> >> Again, I will assume that this means from the 192.168.1.x/24 subnet you > can >> access the 192.168.2.x/24 subnet >> How have you enabled routing on this device? Are you using RRAS? Static >> Routes? >> >> >> > and use 192.168.1.1 as a gateway, >> As far as I can tell, this HOST IP address should be the private side of >> your Internet Router, and not related to routing between the two internal >> subnets >> >> >> >but I cannot access that device from >> > the >> >> > second 192.168.26.1 network. >> Right, you need to add the routes. >> >> >> Below are some example setups, but again, I'm not too sure how you've got >> your topology configured. >> Again, there are many ways to accomplish what you're trying to do. >> Please >> help us understand what you've actually done. Feel free to modify the >> diagrams to draw us a picture. >> >> HTH, >> =d= >> >> -- >> Dana Brash >> MCSE, MCDBA, MCSA >> >> (E-Mail Removed) >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ >> >> In this diagram for packets from 192.168.26.x to reach 192.168.2.x, the >> router needs to have a route entry that directs traffic to the >> 192.168.2.x/24 network via the 192.168.1.11 Gateway using ETH0 >> ("/24" = "24 bit" = "255.255.255.0" subnet mask) >> >> ************************************************** ****** >> _____________ >> | Some Device | >> |____________| >> | >> 192.168.2.??/24 >> | >> | >> NIC2 >> 192.168.2.x/24 >> _|_ >> | | >> | | first server (Actually a router also) >> |__| >> | >> NIC1 >> 192.168.1.11/24 >> | >> | >> 192.168.1.1/24 (let's say ETH0) >> ____|______ >> | ROUTER |----/\/\/---(ETH2)---/\/\/---->> INTERNET >> |__________| >> 192.168.26.1/24 (let's say ETH1) >> | >> | >> 192.168.26.x/24 >> ************************************************** ****** >> >> >> >> In this diagram for packets from 192.168.26.x to reach 192.168.2.x, > ROUTER-2 >> will have a Route from 192.168.26.x/24 -> 192.168.2.x/24 via 192.168.1.11 >> Gateway using Interface 192.168.1.12 (RT2_ETH0). >> There will also be a default route on Router2 that uses ROUTER1 ETH0 as > the >> default gateway. >> > ================================================== ========================= >> ON ROUTER2: >> Network Destination Netmask Gateway Interface >> Metric >> . . >> 192.168.2.0 255.255.255.0 192.168.1.11 >> 192.168.1.12 >> ?? >> . . >> Default Gateway: 192.168.1.1 >> > ================================================== ========================= >> >> ************************************************** ****** >> _____________ >> | Some Device | >> |____________| >> | >> 192.168.2.??/24 >> | >> | >> Server_NIC2 >> 192.168.2.x/24 >> _|_ >> | | >> | | first server (Actually a router also) >> |__| >> | >> Server_NIC1 >> 192.168.1.11/24 >> | >> | >> ____\/____ __________ >> | Switch |--(RT1_ETH0)-->| ROUTER1 | --(RT1_ETH1)----->> INTERNET >> |________| 192.168.1.1/24 |__________| PUBLIC IP >> ^ >> | >> | >> 192.168.1.12/24(let's say RT2_ETH0) >> | >> ____\/______ >> | ROUTER 2 | >> |__________| >> | >> 192.168.26.1/24 (let's say RT2_ETH1) >> | >> | >> 192.168.26.x/24 >> ************************************************** ****** >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ >> >> >> >> -- >> Dana Brash >> MCSE, MCDBA, MCSA >> >> (E-Mail Removed) >> >> "andrew" <(E-Mail Removed)> wrote in message >> news:%(E-Mail Removed)... >> > Hi Mike, >> > I use gateway 255.255.255.0 in both. The 192.168.26.1 is not on the >> > server, >> > this is separated remote network with router( GW 192.168.26.1) The >> > problem >> > is what gateway use to get to 192.168.2.1 network. I use 192.168.26.1 >> > GW >> > to >> > get to 192.168.1.1 and this work. >> > The NIC 192.168.2.1 is on the server 192.168.1.1 (second NIC) >> > thanks, Andrew >> > >> > "Miha Pihler" <mihap-(E-Mail Removed)> wrote in message >> > news:(E-Mail Removed)... >> >> Hi Andrew, >> >> >> >> You haven't told us the subnet mask that you use (in this case, this >> >> would >> >> be very important information). >> >> >> >> If you decided to use default subnet mask for 192.168.x.x network that >> > would >> >> be 255.255.255.0 (or 24 bit subnet mask). If we look at an example one >> >> subnet would be: >> >> 192.168.1.1 - 192.168.1.255 with 24 bit subnet mask. Second subnet > would >> > in >> >> this case be >> >> 192.168.2.1 - 192.168.2.255 with 24 bit subnet mask Third subnet would > in >> >> this case be >> >> 192.168.3.1 - 192.168.3.255 with 24 bit subnet mask .... >> >> . >> >> . >> >> . >> >> 192.168.26.1 - 192.168.26.255 with 24 bit subnet mask >> >> . >> >> . >> >> . >> >> 192.168.255.1 - 192.168.255.255 with 24 bit subnet mask. >> >> >> >> In this case computers and devices in 192.168.1.x network will need a >> >> gateway on 192.168.1.x subnet. Computers and devices in 192.168.2.x >> > network >> >> will need their gateway on 192.168.2.x subnet or will not be able to >> > connect >> >> to 192.168.1.x network (or anything outside 192.168.2.x network). And >> >> computers and devices in 192.168.26.x network will need their gateway > on >> >> 192.168.26.x subnet... >> >> >> >> Gateway _must_ always be on same subnet as computers/devices are... >> >> >> >> If you have a server with 3 NIC with IPs 192.168.1.1 and 192.168.2.1 > and >> >> 192.168.26.1 this server will be able to connect to all three networks >> > (but >> >> only this server/device). It will use information from the NIC to >> >> build > a >> >> routing table. >> >> >> >> Such servers (and Windows computer) can have only one default gateway. >> > This >> >> would be the NIC that leads e.g. to the internet. E.g. if your NIC >> >> 192.168.1.1 would be connected to the router that lead to the internet >> > this >> >> NIC would have a gateway. >> >> >> >> Mike >> >> >> >> "andrew" <(E-Mail Removed)> wrote in message >> >> news:(E-Mail Removed)... >> >> > hi, >> >> > I have 2 network 192.168.1.1 and 192.168.26.1 connected together by >> >> router. >> >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which > is >> >> used >> >> > by some >> >> > device. From 192.168.1.1 I can access that device since I checked IP >> >> routing >> >> > on that sever >> >> > and use 192.168.1.1 as a gateway, but I cannot access that device > from >> > the >> >> > second 192.168.26.1 network. Can somebody help? I cannot use the > same >> >> > gateway since this is different network. >> >> > >> >> > >> >> >> >> >> > >> > >> >> > > |
|
|
|
|
|||
|
|||
|
Bill Grant
Guest
Posts: n/a
|
I have to disagree with you on that point. If one subnet is connected to
the Internet, it does make a considerable difference to the internal routing. When more than one router is involved, normal default routing fails to cover all possibilities. You need to configure your network so that default routing covers the most common paths (which usually means out to the Internet) and then configure static routes to cover the other possibilities. "andrew" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > No, no, there is no conflict. 192.168.1.1 is a server on which IP routing > is enabled.(no eextra router ) I cannot run anything on the device , IP is > static configurable. > Ofcourse we have internet access through firewall but this is not relevant > since I have problem inside the local network. I runn tracer commands and > post tomorrow, > thanks,Andrew > > "Dana Brash" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... >> Hi Andrew, >> >> Thanks for the map. >> >> One thing that I would like to make very sure you understand is that when >> you add a route, you are not adding it to a network, you are adding it to >> the routing table on a host. I realize this may be a language issue, and > I >> certainly don't mean to criticize at all, but the difference between a > host >> and a network is a very important distinction in IP address >> configuration. >> >> On your diagram, you show that the 192.168.1.0/24 subnet has two devices >> using the same IP address. You show the NT server as using 192.168.1.1 > and >> the Router as using 192.168.1.1. This will create terrible conflicts and >> nothing should work on that subnet. Each device needs to have a unique > IP. >> >> For further troubleshooting, please post back here the results from: >> >> 1. ROUTE PRINT on NT4 >> Please open a command window on the NT4 machine and copy the results of a >> ROUTE PRINT and post it back here. >> >> 2. ROUTE PRINT on router (or otherwise grab the route table) >> What kind of machine is the other Router? Is it also a Windows machine, > or >> Linux, or hardware appliance, or? >> Please post the route table from this device also. >> >> 3. tracert -d 192.168.2.2 from host on 192.168.26.0/24 subnet >> Finally, from a device on the 192.168.26.0/24 subnet please run a > tracert -d >> 192.168.2.2 command and post the results from that up here as well. >> >> You do not need any additional NIC in this environment, it's all >> configuration, not hardware. >> >> I am curious, however, why there is no Internet access shown in the > diagram? >> Are there possibly some WAN connections in here that are VPN'd or > something? >> >> -- >> HTH, >> =d= >> >> >> Dana Brash >> MCSE, MCDBA, MCSA >> >> (E-Mail Removed) >> >> "andrew" <(E-Mail Removed)> wrote in message >> news:(E-Mail Removed)... >> > Hi Dana, >> > here is like it looks: >> > _____________ >> > | video recording dev| >> > |____________| >> > | >> > 192.168.2.2 (static) >> > | >> > | >> > NIC2 >> > 192.168.2.1 >> > _|_ >> > | | >> > | | first server (Actually a router also) >> > |____| WinNT4.0 IP routing enable (checkbox) >> > | >> > NIC1 >> > 192.168.1.1 >> > | >> > 192.168.1.1/24 (in this network I added using route command ![]() >> > ____|______ route add 192.168.2.0 mask 255.255.255.0 >> > 192.168.1.1 >> > and >> > works >> > | ROUTER | >> > |__________| >> > 192.168.26.1/24 >> > | >> > | >> > 192.168.26.x/24 (no dhcp) >> > (from this network main server is accessed through GW 192.168.26.1) >> > in that network I cannot of course add gatway 192.168.1.1 directly, and >> > thats my problem. >> > so how to routr this. without adding additional NIC (not possible) >> > thanks, Andrew >> > >> > >> > >> > >> > "Dana Brash" <(E-Mail Removed)> wrote in message >> > news:(E-Mail Removed)... >> >> Hi Andrew, >> >> >> >> >>I have 2 network 192.168.1.1 and 192.168.26.1 connected together by >> >> >> router. >> >> >> >> Actually, these are HOST addresses, not NETWORK addresses. >> >> But working with the concept that we've got two subnets 192.168.1.x/24 >> >> and >> >> 192.168.26.x/24, you could accomplish this a couple different ways. > The >> >> first diagram below shows a literal interpretation of this statement. >> >> The >> >> second diagram shows a different way that you could accomplish this. >> > These >> >> are by no means the only ways to do it.... >> >> If your config is different, please point out where. >> >> >> >> >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 > which >> > is >> >> >> used >> >> >> > by some >> >> >> > device. >> >> >> >> What is that device? a printer? Wireless AP? Another comptuer? What >> >> is >> > it's >> >> purpose? >> >> Not terribly important, but may be helpful to know... >> >> >> >> >> >From 192.168.1.1 I can access that device since I checked IP >> >> >> routing >> >> >> > on that sever >> >> >> >> Again, I will assume that this means from the 192.168.1.x/24 subnet >> >> you >> > can >> >> access the 192.168.2.x/24 subnet >> >> How have you enabled routing on this device? Are you using RRAS? > Static >> >> Routes? >> >> >> >> >> > and use 192.168.1.1 as a gateway, >> >> As far as I can tell, this HOST IP address should be the private side > of >> >> your Internet Router, and not related to routing between the two > internal >> >> subnets >> >> >> >> >> >but I cannot access that device from >> >> > the >> >> >> > second 192.168.26.1 network. >> >> Right, you need to add the routes. >> >> >> >> >> >> Below are some example setups, but again, I'm not too sure how you've > got >> >> your topology configured. >> >> Again, there are many ways to accomplish what you're trying to do. >> >> Please >> >> help us understand what you've actually done. Feel free to modify the >> >> diagrams to draw us a picture. >> >> >> >> HTH, >> >> =d= >> >> >> >> -- >> >> Dana Brash >> >> MCSE, MCDBA, MCSA >> >> >> >> (E-Mail Removed) >> >> >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ >> >> >> >> In this diagram for packets from 192.168.26.x to reach 192.168.2.x, >> >> the >> >> router needs to have a route entry that directs traffic to the >> >> 192.168.2.x/24 network via the 192.168.1.11 Gateway using ETH0 >> >> ("/24" = "24 bit" = "255.255.255.0" subnet mask) >> >> >> >> ************************************************** ****** >> >> _____________ >> >> | Some Device | >> >> |____________| >> >> | >> >> 192.168.2.??/24 >> >> | >> >> | >> >> NIC2 >> >> 192.168.2.x/24 >> >> _|_ >> >> | | >> >> | | first server (Actually a router also) >> >> |__| >> >> | >> >> NIC1 >> >> 192.168.1.11/24 >> >> | >> >> | >> >> 192.168.1.1/24 (let's say ETH0) >> >> ____|______ >> >> | ROUTER |----/\/\/---(ETH2)---/\/\/---->> INTERNET >> >> |__________| >> >> 192.168.26.1/24 (let's say ETH1) >> >> | >> >> | >> >> 192.168.26.x/24 >> >> ************************************************** ****** >> >> >> >> >> >> >> >> In this diagram for packets from 192.168.26.x to reach 192.168.2.x, >> > ROUTER-2 >> >> will have a Route from 192.168.26.x/24 -> 192.168.2.x/24 via > 192.168.1.11 >> >> Gateway using Interface 192.168.1.12 (RT2_ETH0). >> >> There will also be a default route on Router2 that uses ROUTER1 ETH0 >> >> as >> > the >> >> default gateway. >> >> >> > > ================================================== ========================= >> >> ON ROUTER2: >> >> Network Destination Netmask Gateway >> >> Interface >> >> Metric >> >> . . >> >> 192.168.2.0 255.255.255.0 192.168.1.11 >> >> 192.168.1.12 >> >> ?? >> >> . . >> >> Default Gateway: 192.168.1.1 >> >> >> > > ================================================== ========================= >> >> >> >> ************************************************** ****** >> >> _____________ >> >> | Some Device | >> >> |____________| >> >> | >> >> 192.168.2.??/24 >> >> | >> >> | >> >> Server_NIC2 >> >> 192.168.2.x/24 >> >> _|_ >> >> | | >> >> | | first server (Actually a router also) >> >> |__| >> >> | >> >> Server_NIC1 >> >> 192.168.1.11/24 >> >> | >> >> | >> >> ____\/____ __________ >> >> | Switch |--(RT1_ETH0)-->| ROUTER1 | --(RT1_ETH1)----->> INTERNET >> >> |________| 192.168.1.1/24 |__________| PUBLIC IP >> >> ^ >> >> | >> >> | >> >> 192.168.1.12/24(let's say RT2_ETH0) >> >> | >> >> ____\/______ >> >> | ROUTER 2 | >> >> |__________| >> >> | >> >> 192.168.26.1/24 (let's say RT2_ETH1) >> >> | >> >> | >> >> 192.168.26.x/24 >> >> ************************************************** ****** >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ >> >> >> >> >> >> >> >> -- >> >> Dana Brash >> >> MCSE, MCDBA, MCSA >> >> >> >> (E-Mail Removed) >> >> >> >> "andrew" <(E-Mail Removed)> wrote in message >> >> news:%(E-Mail Removed)... >> >> > Hi Mike, >> >> > I use gateway 255.255.255.0 in both. The 192.168.26.1 is not on the >> >> > server, >> >> > this is separated remote network with router( GW 192.168.26.1) The >> >> > problem >> >> > is what gateway use to get to 192.168.2.1 network. I use >> >> > 192.168.26.1 >> >> > GW >> >> > to >> >> > get to 192.168.1.1 and this work. >> >> > The NIC 192.168.2.1 is on the server 192.168.1.1 (second NIC) >> >> > thanks, Andrew >> >> > >> >> > "Miha Pihler" <mihap-(E-Mail Removed)> wrote in message >> >> > news:(E-Mail Removed)... >> >> >> Hi Andrew, >> >> >> >> >> >> You haven't told us the subnet mask that you use (in this case, >> >> >> this >> >> >> would >> >> >> be very important information). >> >> >> >> >> >> If you decided to use default subnet mask for 192.168.x.x network > that >> >> > would >> >> >> be 255.255.255.0 (or 24 bit subnet mask). If we look at an example > one >> >> >> subnet would be: >> >> >> 192.168.1.1 - 192.168.1.255 with 24 bit subnet mask. Second subnet >> > would >> >> > in >> >> >> this case be >> >> >> 192.168.2.1 - 192.168.2.255 with 24 bit subnet mask Third subnet > would >> > in >> >> >> this case be >> >> >> 192.168.3.1 - 192.168.3.255 with 24 bit subnet mask .... >> >> >> . >> >> >> . >> >> >> . >> >> >> 192.168.26.1 - 192.168.26.255 with 24 bit subnet mask >> >> >> . >> >> >> . >> >> >> . >> >> >> 192.168.255.1 - 192.168.255.255 with 24 bit subnet mask. >> >> >> >> >> >> In this case computers and devices in 192.168.1.x network will need > a >> >> >> gateway on 192.168.1.x subnet. Computers and devices in 192.168.2.x >> >> > network >> >> >> will need their gateway on 192.168.2.x subnet or will not be able >> >> >> to >> >> > connect >> >> >> to 192.168.1.x network (or anything outside 192.168.2.x network). > And >> >> >> computers and devices in 192.168.26.x network will need their > gateway >> > on >> >> >> 192.168.26.x subnet... >> >> >> >> >> >> Gateway _must_ always be on same subnet as computers/devices are... >> >> >> >> >> >> If you have a server with 3 NIC with IPs 192.168.1.1 and >> >> >> 192.168.2.1 >> > and >> >> >> 192.168.26.1 this server will be able to connect to all three > networks >> >> > (but >> >> >> only this server/device). It will use information from the NIC to >> >> >> build >> > a >> >> >> routing table. >> >> >> >> >> >> Such servers (and Windows computer) can have only one default > gateway. >> >> > This >> >> >> would be the NIC that leads e.g. to the internet. E.g. if your NIC >> >> >> 192.168.1.1 would be connected to the router that lead to the > internet >> >> > this >> >> >> NIC would have a gateway. >> >> >> >> >> >> Mike >> >> >> >> >> >> "andrew" <(E-Mail Removed)> wrote in message >> >> >> news:(E-Mail Removed)... >> >> >> > hi, >> >> >> > I have 2 network 192.168.1.1 and 192.168.26.1 connected together > by >> >> >> router. >> >> >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 > which >> > is >> >> >> used >> >> >> > by some >> >> >> > device. From 192.168.1.1 I can access that device since I checked > IP >> >> >> routing >> >> >> > on that sever >> >> >> > and use 192.168.1.1 as a gateway, but I cannot access that device >> > from >> >> > the >> >> >> > second 192.168.26.1 network. Can somebody help? I cannot use >> >> >> > the >> > same >> >> >> > gateway since this is different network. >> >> >> > >> >> >> > >> >> >> >> >> >> >> >> > >> >> > >> >> >> >> >> > >> > >> >> > > |
|
|
|
|
|||
|
|||
|
andrew
Guest
Posts: n/a
|
No, no, there is no conflict. 192.168.1.1 is a server on which IP routing
is enabled.(no eextra router ) I cannot run anything on the device , IP is static configurable. Ofcourse we have internet access through firewall but this is not relevant since I have problem inside the local network. I runn tracer commands and post tomorrow, thanks,Andrew "Dana Brash" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Hi Andrew, > > Thanks for the map. > > One thing that I would like to make very sure you understand is that when > you add a route, you are not adding it to a network, you are adding it to > the routing table on a host. I realize this may be a language issue, and I > certainly don't mean to criticize at all, but the difference between a host > and a network is a very important distinction in IP address configuration. > > On your diagram, you show that the 192.168.1.0/24 subnet has two devices > using the same IP address. You show the NT server as using 192.168.1.1 and > the Router as using 192.168.1.1. This will create terrible conflicts and > nothing should work on that subnet. Each device needs to have a unique IP. > > For further troubleshooting, please post back here the results from: > > 1. ROUTE PRINT on NT4 > Please open a command window on the NT4 machine and copy the results of a > ROUTE PRINT and post it back here. > > 2. ROUTE PRINT on router (or otherwise grab the route table) > What kind of machine is the other Router? Is it also a Windows machine, or > Linux, or hardware appliance, or? > Please post the route table from this device also. > > 3. tracert -d 192.168.2.2 from host on 192.168.26.0/24 subnet > Finally, from a device on the 192.168.26.0/24 subnet please run a tracert -d > 192.168.2.2 command and post the results from that up here as well. > > You do not need any additional NIC in this environment, it's all > configuration, not hardware. > > I am curious, however, why there is no Internet access shown in the diagram? > Are there possibly some WAN connections in here that are VPN'd or something? > > -- > HTH, > =d= > > > Dana Brash > MCSE, MCDBA, MCSA > > (E-Mail Removed) > > "andrew" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... > > Hi Dana, > > here is like it looks: > > _____________ > > | video recording dev| > > |____________| > > | > > 192.168.2.2 (static) > > | > > | > > NIC2 > > 192.168.2.1 > > _|_ > > | | > > | | first server (Actually a router also) > > |____| WinNT4.0 IP routing enable (checkbox) > > | > > NIC1 > > 192.168.1.1 > > | > > 192.168.1.1/24 (in this network I added using route command ![]() > > ____|______ route add 192.168.2.0 mask 255.255.255.0 192.168.1.1 > > and > > works > > | ROUTER | > > |__________| > > 192.168.26.1/24 > > | > > | > > 192.168.26.x/24 (no dhcp) > > (from this network main server is accessed through GW 192.168.26.1) > > in that network I cannot of course add gatway 192.168.1.1 directly, and > > thats my problem. > > so how to routr this. without adding additional NIC (not possible) > > thanks, Andrew > > > > > > > > > > "Dana Brash" <(E-Mail Removed)> wrote in message > > news:(E-Mail Removed)... > >> Hi Andrew, > >> > >> >>I have 2 network 192.168.1.1 and 192.168.26.1 connected together by > >> >> router. > >> > >> Actually, these are HOST addresses, not NETWORK addresses. > >> But working with the concept that we've got two subnets 192.168.1.x/24 > >> and > >> 192.168.26.x/24, you could accomplish this a couple different ways. The > >> first diagram below shows a literal interpretation of this statement. > >> The > >> second diagram shows a different way that you could accomplish this. > > These > >> are by no means the only ways to do it.... > >> If your config is different, please point out where. > >> > >> >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which > > is > >> >> used > >> >> > by some > >> >> > device. > >> > >> What is that device? a printer? Wireless AP? Another comptuer? What is > > it's > >> purpose? > >> Not terribly important, but may be helpful to know... > >> > >> >> >From 192.168.1.1 I can access that device since I checked IP > >> >> routing > >> >> > on that sever > >> > >> Again, I will assume that this means from the 192.168.1.x/24 subnet you > > can > >> access the 192.168.2.x/24 subnet > >> How have you enabled routing on this device? Are you using RRAS? Static > >> Routes? > >> > >> >> > and use 192.168.1.1 as a gateway, > >> As far as I can tell, this HOST IP address should be the private side of > >> your Internet Router, and not related to routing between the two internal > >> subnets > >> > >> >> >but I cannot access that device from > >> > the > >> >> > second 192.168.26.1 network. > >> Right, you need to add the routes. > >> > >> > >> Below are some example setups, but again, I'm not too sure how you've got > >> your topology configured. > >> Again, there are many ways to accomplish what you're trying to do. > >> Please > >> help us understand what you've actually done. Feel free to modify the > >> diagrams to draw us a picture. > >> > >> HTH, > >> =d= > >> > >> -- > >> Dana Brash > >> MCSE, MCDBA, MCSA > >> > >> (E-Mail Removed) > >> > >> > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ > >> > >> In this diagram for packets from 192.168.26.x to reach 192.168.2.x, the > >> router needs to have a route entry that directs traffic to the > >> 192.168.2.x/24 network via the 192.168.1.11 Gateway using ETH0 > >> ("/24" = "24 bit" = "255.255.255.0" subnet mask) > >> > >> ************************************************** ****** > >> _____________ > >> | Some Device | > >> |____________| > >> | > >> 192.168.2.??/24 > >> | > >> | > >> NIC2 > >> 192.168.2.x/24 > >> _|_ > >> | | > >> | | first server (Actually a router also) > >> |__| > >> | > >> NIC1 > >> 192.168.1.11/24 > >> | > >> | > >> 192.168.1.1/24 (let's say ETH0) > >> ____|______ > >> | ROUTER |----/\/\/---(ETH2)---/\/\/---->> INTERNET > >> |__________| > >> 192.168.26.1/24 (let's say ETH1) > >> | > >> | > >> 192.168.26.x/24 > >> ************************************************** ****** > >> > >> > >> > >> In this diagram for packets from 192.168.26.x to reach 192.168.2.x, > > ROUTER-2 > >> will have a Route from 192.168.26.x/24 -> 192.168.2.x/24 via 192.168.1.11 > >> Gateway using Interface 192.168.1.12 (RT2_ETH0). > >> There will also be a default route on Router2 that uses ROUTER1 ETH0 as > > the > >> default gateway. > >> > > ================================================== ========================= > >> ON ROUTER2: > >> Network Destination Netmask Gateway Interface > >> Metric > >> . . > >> 192.168.2.0 255.255.255.0 192.168.1.11 > >> 192.168.1.12 > >> ?? > >> . . > >> Default Gateway: 192.168.1.1 > >> > > ================================================== ========================= > >> > >> ************************************************** ****** > >> _____________ > >> | Some Device | > >> |____________| > >> | > >> 192.168.2.??/24 > >> | > >> | > >> Server_NIC2 > >> 192.168.2.x/24 > >> _|_ > >> | | > >> | | first server (Actually a router also) > >> |__| > >> | > >> Server_NIC1 > >> 192.168.1.11/24 > >> | > >> | > >> ____\/____ __________ > >> | Switch |--(RT1_ETH0)-->| ROUTER1 | --(RT1_ETH1)----->> INTERNET > >> |________| 192.168.1.1/24 |__________| PUBLIC IP > >> ^ > >> | > >> | > >> 192.168.1.12/24(let's say RT2_ETH0) > >> | > >> ____\/______ > >> | ROUTER 2 | > >> |__________| > >> | > >> 192.168.26.1/24 (let's say RT2_ETH1) > >> | > >> | > >> 192.168.26.x/24 > >> ************************************************** ****** > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ > >> > >> > >> > >> -- > >> Dana Brash > >> MCSE, MCDBA, MCSA > >> > >> (E-Mail Removed) > >> > >> "andrew" <(E-Mail Removed)> wrote in message > >> news:%(E-Mail Removed)... > >> > Hi Mike, > >> > I use gateway 255.255.255.0 in both. The 192.168.26.1 is not on the > >> > server, > >> > this is separated remote network with router( GW 192.168.26.1) The > >> > problem > >> > is what gateway use to get to 192.168.2.1 network. I use 192.168.26.1 > >> > GW > >> > to > >> > get to 192.168.1.1 and this work. > >> > The NIC 192.168.2.1 is on the server 192.168.1.1 (second NIC) > >> > thanks, Andrew > >> > > >> > "Miha Pihler" <mihap-(E-Mail Removed)> wrote in message > >> > news:(E-Mail Removed)... > >> >> Hi Andrew, > >> >> > >> >> You haven't told us the subnet mask that you use (in this case, this > >> >> would > >> >> be very important information). > >> >> > >> >> If you decided to use default subnet mask for 192.168.x.x network that > >> > would > >> >> be 255.255.255.0 (or 24 bit subnet mask). If we look at an example one > >> >> subnet would be: > >> >> 192.168.1.1 - 192.168.1.255 with 24 bit subnet mask. Second subnet > > would > >> > in > >> >> this case be > >> >> 192.168.2.1 - 192.168.2.255 with 24 bit subnet mask Third subnet would > > in > >> >> this case be > >> >> 192.168.3.1 - 192.168.3.255 with 24 bit subnet mask .... > >> >> . > >> >> . > >> >> . > >> >> 192.168.26.1 - 192.168.26.255 with 24 bit subnet mask > >> >> . > >> >> . > >> >> . > >> >> 192.168.255.1 - 192.168.255.255 with 24 bit subnet mask. > >> >> > >> >> In this case computers and devices in 192.168.1.x network will need a > >> >> gateway on 192.168.1.x subnet. Computers and devices in 192.168.2.x > >> > network > >> >> will need their gateway on 192.168.2.x subnet or will not be able to > >> > connect > >> >> to 192.168.1.x network (or anything outside 192.168.2.x network). And > >> >> computers and devices in 192.168.26.x network will need their gateway > > on > >> >> 192.168.26.x subnet... > >> >> > >> >> Gateway _must_ always be on same subnet as computers/devices are... > >> >> > >> >> If you have a server with 3 NIC with IPs 192.168.1.1 and 192.168.2.1 > > and > >> >> 192.168.26.1 this server will be able to connect to all three networks > >> > (but > >> >> only this server/device). It will use information from the NIC to > >> >> build > > a > >> >> routing table. > >> >> > >> >> Such servers (and Windows computer) can have only one default gateway. > >> > This > >> >> would be the NIC that leads e.g. to the internet. E.g. if your NIC > >> >> 192.168.1.1 would be connected to the router that lead to the internet > >> > this > >> >> NIC would have a gateway. > >> >> > >> >> Mike > >> >> > >> >> "andrew" <(E-Mail Removed)> wrote in message > >> >> news:(E-Mail Removed)... > >> >> > hi, > >> >> > I have 2 network 192.168.1.1 and 192.168.26.1 connected together by > >> >> router. > >> >> > On first server 192.168.1.1 I have additional NIC 192.168.2.1 which > > is > >> >> used > >> >> > by some > >> >> > device. From 192.168.1.1 I can access that device since I checked IP > >> >> routing > >> >> > on that sever > >> >> > and use 192.168.1.1 as a gateway, but I cannot access that device > > from > >> > the > >> >> > second 192.168.26.1 network. Can somebody help? I cannot use the > > same > >> >> > gateway since this is different network. > >> >> > > >> >> > > >> >> > >> >> > >> > > >> > > >> > >> > > > > > > |
|
|
|
|
|||
|
|||
|
|
|
| |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Routing problem | S | Windows Networking | 2 | 02-08-2006 03:08 AM |
| Routing Problem | =?Utf-8?B?S2lt?= | Windows Networking | 5 | 01-26-2005 09:43 PM |
| TCP/IP routing problem | josman | Network Routers | 0 | 07-21-2004 07:12 PM |
| routing+vpn problem | Marco Marabelli | Linux Networking | 1 | 06-07-2004 07:31 AM |
| Routing problem | Alan Peckham | Linux Networking | 1 | 08-28-2003 10:06 PM |
Forum Software Powered by vBulletin®, Copyright Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc. |



Linear Mode

