|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Tricky routing with XP Pro?XP. I have enabled ip routing in the registry and also start routing & remote access services. Here's my scenario: 1. A corporate network (of which I'm the admin) with static and DCHP clients 2. One specific machine used by a developer has two NIC's, NIC1 connects to the network, the other connects via crossover cable to his notebook as below: notebook <----> [nic1 --- DEV MACHINE --- nic2] <-----> corporate network. The reason for this setup is that he does large transfers between his notebook and desktop via a gigabit link and the direct link does a great job. But now he needs to access the rest of the network via this setup as well. (No, we can't replace the OS with something else, basically we need to get XP routing going). The addresses are as follows: notebook: 192.168.110.2 def gateway: 192.168.110.1 nic1: 192.168.110.1 no def gateway nic2: 192.168.100.60 def gateway: 192.168.100.1 (which is our firewall LAN port) I pressume that I should add some static routes, but where and how? I understand that this is not that simple, since there is a route to be added to each machine on the LAN, right? I can do that with policies (or possibly DHCP?), but exactly which routes and where. I did a lot of this kind of stuff a few years back, so I have a basic understanding of routing, but the details now have me scratching my head. All help much appreciated. A good place to start would be using your command line.
Start > Run> command <press enter> or ok type route ...this will list the commands on how to set up a static route for your computers to travel. hopefully this helps Show quoteHide quote "LifeBoy" wrote: > I have read a number of articles by now regarding routing and Windows > XP. I have enabled ip routing in the registry and also start routing & > remote access services. Here's my scenario: > > 1. A corporate network (of which I'm the admin) with static and DCHP > clients > 2. One specific machine used by a developer has two NIC's, NIC1 > connects to the network, the other connects via crossover cable to his > notebook as below: > > notebook <----> [nic1 --- DEV MACHINE --- nic2] <-----> corporate > network. > > The reason for this setup is that he does large transfers between his > notebook and desktop via a gigabit link and the direct link does a > great job. But now he needs to access the rest of the network via this > setup as well. (No, we can't replace the OS with something else, > basically we need to get XP routing going). > > The addresses are as follows: > > notebook: 192.168.110.2 def gateway: 192.168.110.1 > > nic1: 192.168.110.1 no def gateway > > nic2: 192.168.100.60 def gateway: 192.168.100.1 (which is our firewall > LAN port) > > I pressume that I should add some static routes, but where and how? I > understand that this is not that simple, since there is a route to be > added to each machine on the LAN, right? I can do that with policies > (or possibly DHCP?), but exactly which routes and where. I did a lot > of this kind of stuff a few years back, so I have a basic understanding > of routing, but the details now have me scratching my head. > > All help much appreciated. > > Marbles wrote:
> A good place to start would be using your command line. Jokes aside, I have been there, but as I said, I'm a bit rusty and am> > Start > Run> command <press enter> or ok :) I live on the command line! (First house on the left) > type route ...this will list the commands on how to set up a static route > for your computers to travel. hoping for some real advice on how to set up the routes so that this will work. That was real advice... oh well ...lol
You say you want to set routes..thats the place to do it. Not unless your looking for registry tweaks or a 3rd party program ? If your rusty, you should get an upgrade to replace those parts ...good luck Since your rusty please read this article it should put you back on the path.
You should be able to configure your puters correctly after. Read this Chapter 5 – IP Routing http://www.microsoft.com/technet/itsolutions/network/evaluate/technol/tcpipfund/tcpipfund_ch05.mspx Hope this helps you Oops forgot..
Also read this article http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q314053 Scroll down this page until you see this heading IPEnableRouter this may help you to route your computers in the right direction hoprfully you will get sorted out In article <1158846495.055819.88***@d34g2000cwd.googlegroups.com>,
Show quoteHide quote "LifeBoy" <rolandgies***@gmail.com> wrote: If I understand your question:>I have read a number of articles by now regarding routing and Windows >XP. I have enabled ip routing in the registry and also start routing & >remote access services. Here's my scenario: > >1. A corporate network (of which I'm the admin) with static and DCHP >clients >2. One specific machine used by a developer has two NIC's, NIC1 >connects to the network, the other connects via crossover cable to his >notebook as below: > >notebook <----> [nic1 --- DEV MACHINE --- nic2] <-----> corporate >network. > >The reason for this setup is that he does large transfers between his >notebook and desktop via a gigabit link and the direct link does a >great job. But now he needs to access the rest of the network via this >setup as well. (No, we can't replace the OS with something else, >basically we need to get XP routing going). > >The addresses are as follows: > >notebook: 192.168.110.2 def gateway: 192.168.110.1 > >nic1: 192.168.110.1 no def gateway > >nic2: 192.168.100.60 def gateway: 192.168.100.1 (which is our firewall >LAN port) > >I pressume that I should add some static routes, but where and how? I >understand that this is not that simple, since there is a route to be >added to each machine on the LAN, right? I can do that with policies >(or possibly DHCP?), but exactly which routes and where. I did a lot >of this kind of stuff a few years back, so I have a basic understanding >of routing, but the details now have me scratching my head. > >All help much appreciated. 1. The developer already has access to the rest of the network on DEV MACHINE via NIC2. 2. He now needs to access the rest of the network from the notebook computer. You want to know how to do that by using DEV MACHINE as a router for the notebook computer. Is that right? If not, please explain the situation. Here are two possible solutions that don't require creating routes or making any changes on the other LAN machines: ============================= Solution 1 ============================= 1. Disable IP routing on DEV MACHINE. 2. Add a second NIC (USB or CardBus) to the notebook computer and connect it to the corporate network. It will get a 192.168.100.x address for access to the rest of the network. 3. When the developer wants to transfer files over the high-speed link between his computers, have him access the other computer using the IP address of its high-speed link, not using its computer name. For example, to access DEV MACHINE from the notebook using the high-speed link, type this in the Start > Run box on the notebook: \\192.168.110.1 ============================= Solution 2 ============================= 1. Disable IP routing on DEV MACHINE. 2. Enable Internet Connection Sharing on DEV MACHINE's NIC2 connection. If it asks what to use for the home network connection, tell it to use the high-speed link. 3. If he needs to access other LAN computers from the notebook, create an LMHOSTS file in %SystemRoot%\System32\Drivers\Etc on the notebook that specifies the names and static IP addresses of those computers. Examples of entries in the file are: 192.168.100.111 computer1 192.168.100.222 computer2 -- Best Wishes, Steve Winograd, MS-MVP (Windows Networking) Please post any reply as a follow-up message in the news group for everyone to see. I'm sorry, but I don't answer questions addressed directly to me in E-mail or news groups. Microsoft Most Valuable Professional Program http://mvp.support.microsoft.com Steve Winograd [MVP] wrote:
Show quoteHide quote > If I understand your question: He does use a wifi link to access the corporate network, however, I> > 1. The developer already has access to the rest of the network on DEV > MACHINE via NIC2. Correct > 2. He now needs to access the rest of the network from the notebook > computer. You want to know how to do that by using DEV MACHINE as a > router for the notebook computer. Correct again. > Here are two possible solutions that don't require creating routes or > making any changes on the other LAN machines: > > ============================= > Solution 1 > ============================= would like to learn how to do this by using XP as a router. This is a scenario that I have often encountered and I would like to get a solution for more than just this specific case. > 1. Disable IP routing on DEV MACHINE. <snip>> > 2. Add a second NIC (USB or CardBus) to the notebook computer and > connect it to the corporate network. It will get a 192.168.100.x > address for access to the rest of the network. > ============================= This is a problem, since the corporate network policy enforced by the> Solution 2 > ============================= > 1. Disable IP routing on DEV MACHINE. > > 2. Enable Internet Connection Sharing on DEV MACHINE's NIC2 > connection. If it asks what to use for the home network connection, > tell it to use the high-speed link. domain does not allow ICS to be turned on on the DEV machine or anywhere else for that matter. Since DHCP is in use on the network, it would create chaos with clients not getting addresses from the correct DHCP server. So, although this may be a workaround in certain situations, it doesn't solve the problem on how to set up XP as a full network to network router. (BTW. I have seen numerous articles and posting that refer to the routing of subnets, when in fact the do not use subnets (ie they use netmasks like 255.255.255.0 which is not a subnet, but a full network) In article <1158872733.958606.65***@b28g2000cwb.googlegroups.com>,
Show quoteHide quote "LifeBoy" <rolandgies***@gmail.com> wrote: I understand the reason for the no-ICS policy and the need to prevent>Steve Winograd [MVP] wrote: >> If I understand your question: >> >> 1. The developer already has access to the rest of the network on DEV >> MACHINE via NIC2. >Correct > >> 2. He now needs to access the rest of the network from the notebook >> computer. You want to know how to do that by using DEV MACHINE as a >> router for the notebook computer. >Correct again. > >> Here are two possible solutions that don't require creating routes or >> making any changes on the other LAN machines: >> >> ============================= >> Solution 1 >> ============================= >He does use a wifi link to access the corporate network, however, I >would like to learn how to do this by using XP as a router. This is a >scenario that I have often encountered and I would like to get a >solution for more than just this specific case. > >> 1. Disable IP routing on DEV MACHINE. >> >> 2. Add a second NIC (USB or CardBus) to the notebook computer and >> connect it to the corporate network. It will get a 192.168.100.x >> address for access to the rest of the network. ><snip> > >> ============================= >> Solution 2 >> ============================= >> 1. Disable IP routing on DEV MACHINE. >> >> 2. Enable Internet Connection Sharing on DEV MACHINE's NIC2 >> connection. If it asks what to use for the home network connection, >> tell it to use the high-speed link. > >This is a problem, since the corporate network policy enforced by the >domain does not allow ICS to be turned on on the DEV machine or >anywhere else for that matter. Since DHCP is in use on the network, it >would create chaos with clients not getting addresses from the correct >DHCP server. > >So, although this may be a workaround in certain situations, it doesn't >solve the problem on how to set up XP as a full network to network >router. > >(BTW. I have seen numerous articles and posting that refer to the >routing of subnets, when in fact the do not use subnets (ie they use >netmasks like 255.255.255.0 which is not a subnet, but a full network) unauthorized DHCP servers on the corporate network. However, enabling ICS on the DEV machine in the way that I suggested would enable a DHCP server only on the developer's private two-computer high-speed network. It wouldn't enable a DHCP server on the corporate network, and it wouldn't create chaos. Since your network is set up as a domain, I recommend working with the network administrators to see if, and how, you goal can be accomplished without disrupting the network. In general terms, the DEV's desktop computer must route traffic between its two network interfaces, and the other LAN computers must have a static route defined to send traffic to the notebook's high-speed link via the desktop computer. If the desktop computer's IP addresses are 192.168.110.1 (high-speed) and 192.168.100.60 (LAN), those routes would specify that traffic for the 192.168.110.0/24 subnet goes through the interface 192.168.100.60. A command line for that is: route add 192.168.110.0 mask 255.255.255.0 192.168.100.60 I'm sorry, but I don't know what you mean when you say that 255.255.255.0 is a full network, not a subnet. 255.255.255.0 is a subnet mask. The logical AND of a network interface's subnet mask and its IP address defines a subnet. For an interface with an IP address of 192.168.100.1 and a subnet mask of 255.255.255.0 (sometimes written as 192.168.100.0/24), the subnet consists of IP addresses 192.168.100.1 through 192.168.100.254. That interface can reach computers with those IP addresses directly. Any other IP address is in a different subnet, and access to such an address has to be routed through the default gateway to a router with connections to multiple subnets. -- Best Wishes, Steve Winograd, MS-MVP (Windows Networking) Please post any reply as a follow-up message in the news group for everyone to see. I'm sorry, but I don't answer questions addressed directly to me in E-mail or news groups. Microsoft Most Valuable Professional Program http://mvp.support.microsoft.com
NAT + Port Forward on Windows XP
limited or no connectivity "you do not have sufficient privileges to access connections prope internet connection drops when idle Re: windows domain and samba password Can IIS Do this? D-Link Securespot Problem setting up XP Pro as a router Yet Another Windows Internet Connection Sharing Problem internet sharing speed |
|||||||||||||||||||||||