|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
2 Network Cards / 2 Lans / 2 Routers / XP PROI would like the Internet/Network Traffic for certain users of this workstation to go to one Router and other users of this workstation go to a different router. In other words, through the user logon can I default which NIC is the default? User Ron Connection 1 DHCP 10.0.0.12 Gateway 10.0.0.1 -Router 1 User Visitor Connection 2 DHCP 192.168.1.100 Gateway 192.168.1.1 - Router 2 I appreciate your assistance. Regards, Ron No, but you could get the desired result with the route command in a
logon.bat file. Ron gets: route -f route add 0.0.0.0 mask 0.0.0.0 10.0.0.1 Visitor gets: route -f route add 0.0.0.0 mask 0.0.0.0 192.168.1.1 Doug Sherman MCSE, MCSA, MCP+I, MVP Show quoteHide quote "domvalanth" <ron4***@comcast.net> wrote in message news:1163809351.344695.160420@f16g2000cwb.googlegroups.com... > XP Pro with 2 Network Cards. > I would like the Internet/Network Traffic for certain users of this > workstation to go to one Router and other users of this workstation go > to a different router. > > In other words, through the user logon can I default which NIC is the > default? > > User Ron > Connection 1 > DHCP 10.0.0.12 > Gateway 10.0.0.1 -Router 1 > > User Visitor > Connection 2 > DHCP 192.168.1.100 > Gateway 192.168.1.1 - Router 2 > > I appreciate your assistance. > > Regards, > > Ron > Thank YOU!
Doug Sherman [MVP] wrote: Show quoteHide quote > No, but you could get the desired result with the route command in a > logon.bat file. > > Ron gets: > > route -f > route add 0.0.0.0 mask 0.0.0.0 10.0.0.1 > > Visitor gets: > > route -f > route add 0.0.0.0 mask 0.0.0.0 192.168.1.1 > > Doug Sherman > MCSE, MCSA, MCP+I, MVP > > "domvalanth" <ron4***@comcast.net> wrote in message > news:1163809351.344695.160420@f16g2000cwb.googlegroups.com... > > XP Pro with 2 Network Cards. > > I would like the Internet/Network Traffic for certain users of this > > workstation to go to one Router and other users of this workstation go > > to a different router. > > > > In other words, through the user logon can I default which NIC is the > > default? > > > > User Ron > > Connection 1 > > DHCP 10.0.0.12 > > Gateway 10.0.0.1 -Router 1 > > > > User Visitor > > Connection 2 > > DHCP 192.168.1.100 > > Gateway 192.168.1.1 - Router 2 > > > > I appreciate your assistance. > > > > Regards, > > > > Ron > > In article <1163809351.344695.160***@f16g2000cwb.googlegroups.com>,
Show quoteHide quote "domvalanth" <ron4***@comcast.net> wrote: Put a .bat file in each user's Startup folder that uses the "route>XP Pro with 2 Network Cards. >I would like the Internet/Network Traffic for certain users of this >workstation to go to one Router and other users of this workstation go >to a different router. > >In other words, through the user logon can I default which NIC is the >default? > >User Ron >Connection 1 >DHCP 10.0.0.12 >Gateway 10.0.0.1 -Router 1 > >User Visitor >Connection 2 >DHCP 192.168.1.100 >Gateway 192.168.1.1 - Router 2 > >I appreciate your assistance. > >Regards, > >Ron change" command to specify which default gateway to use. Using the values that you gave above: Ron: route change 0.0.0.0 mask 0.0.0.0 10.0.0.1 Visitor: route change 0.0.0.0 mask 0.0.0.0 192.168.1.1 This will work provided that each user logs off before the other user logs on. It won't work if you use Fast User Switching to switch between two active users, because the Startup programs don't run when you switch users. -- 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 Thank you!
Steve Winograd [MVP] wrote: Show quoteHide quote > In article <1163809351.344695.160***@f16g2000cwb.googlegroups.com>, > "domvalanth" <ron4***@comcast.net> wrote: > >XP Pro with 2 Network Cards. > >I would like the Internet/Network Traffic for certain users of this > >workstation to go to one Router and other users of this workstation go > >to a different router. > > > >In other words, through the user logon can I default which NIC is the > >default? > > > >User Ron > >Connection 1 > >DHCP 10.0.0.12 > >Gateway 10.0.0.1 -Router 1 > > > >User Visitor > >Connection 2 > >DHCP 192.168.1.100 > >Gateway 192.168.1.1 - Router 2 > > > >I appreciate your assistance. > > > >Regards, > > > >Ron > > Put a .bat file in each user's Startup folder that uses the "route > change" command to specify which default gateway to use. Using the > values that you gave above: > > Ron: > > route change 0.0.0.0 mask 0.0.0.0 10.0.0.1 > > Visitor: > > route change 0.0.0.0 mask 0.0.0.0 192.168.1.1 > > This will work provided that each user logs off before the other user > logs on. It won't work if you use Fast User Switching to switch > between two active users, because the Startup programs don't run when > you switch users. > -- > 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
Can malware change IP address on Windows XP machine
LAN with MAC and PC Network Novice needs alot of help with win98 and xp setup. Peer-to-peer browsing limited to oneway traffic Event ID 5719 NETLOGON shutting down my network download program to network Event ID 5783 - NETLOGON VPN connection and web browsing ADSL with NAT |
|||||||||||||||||||||||