Posted: 8/13/2012 11:35:53 AM EDT
|
Got a tough problem!!!
I have a laptop connected to the internet via wired LAN on a 10.29.x.x IP. I have a printer hooked to a WiFi router with a 192.168.x.x IP. If I disable the WiFi I can connect to the Internet just fine, but can't print. If I enable WiFi I can print but lose Internet. How do I set it up so that I can have the WiFi and LAN both connected and be able to simultaneously print and have internet? I did it once before, but just had a fresh HDD format and can't remember how I did it. |
|
The wifi router is acting as a DHCP server for the wifi network and you're "obtaining an IP address automatically" on your computer on the wifi interface. With your wifi interface on, you're getting a "default route" parameter from the wifi AP which tells your computer to send all of your internet bound traffic to it instead of out the wired interface. You need to configure the wifi router to NOT issue a default route if possible, or turn off DHCP on your wifi interface on your computer and manually assign an IP address and NO default gateway.
|
|
Quoted:
The wifi router is acting as a DHCP server for the wifi network and you're "obtaining an IP address automatically" on your computer on the wifi interface. With your wifi interface on, you're getting a "default route" parameter from the wifi AP which tells your computer to send all of your internet bound traffic to it instead of out the wired interface. You need to configure the wifi router to NOT issue a default route if possible, or turn off DHCP on your wifi interface on your computer and manually assign an IP address and NO default gateway. I'm guessing that they are both running DHCP servers and the one on the WIFI router is just answering requests faster. Turn the DHCP server off on the router that's not actually connected to your internet connection then power cycle your devices. |
|
Quoted:
One thing I do vaguely remember is that I had to run a command prompt and use ipconfig to set a priority for it to default to the wired connection as the primary internet connection. Don't remember how, though. There's no reason to do this. What you should do is have your devices set up like this Internet connection cabled into the "WAN" port on your wired router. Wireless router from one if its "LAN" ports into one of the "LAN" ports on your wired router Turn off the DHCP server on the wireless router. This will lay all of your devices on one flat network that can all talk to each other and to the internet as well. |
|
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : mspad.state.mi.us IP Address. . . . . . . . . . . . : 10.29.99.35 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.29.99.1 Ethernet adapter Wireless Network Connection: Connection-specific DNS Suffix . : TECH LAB NETWORK IP Address. . . . . . . . . . . . : 192.168.2.4 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : |
|
Quoted:
Got a tough problem!!! I have a laptop connected to the internet via wired LAN on a 10.29.x.x IP. I have a printer hooked to a WiFi router with a 192.168.x.x IP. If I disable the WiFi I can connect to the Internet just fine, but can't print. If I enable WiFi I can print but lose Internet. How do I set it up so that I can have the WiFi and LAN both connected and be able to simultaneously print and have internet? I did it once before, but just had a fresh HDD format and can't remember how I did it. Connect both the wired LAN and connect to that SSID. Make sure your preferred default route is the wired LAN (guessing that is what you want), then add a route to the printer's IP on your laptop. |
|
Quoted:
Quoted:
One thing I do vaguely remember is that I had to run a command prompt and use ipconfig to set a priority for it to default to the wired connection as the primary internet connection. Don't remember how, though. There's no reason to do this. What you should do is have your devices set up like this Internet connection cabled into the "WAN" port on your wired router. Wireless router from one if its "LAN" ports into one of the "LAN" ports on your wired router Turn off the DHCP server on the wireless router. This will lay all of your devices on one flat network that can all talk to each other and to the internet as well. I have no access to the wired router. I just have access to a wall port. I'm using the wireless router within my office to print from multiple PCs. |
|
Quoted:
Quoted:
Quoted:
One thing I do vaguely remember is that I had to run a command prompt and use ipconfig to set a priority for it to default to the wired connection as the primary internet connection. Don't remember how, though. There's no reason to do this. What you should do is have your devices set up like this Internet connection cabled into the "WAN" port on your wired router. Wireless router from one if its "LAN" ports into one of the "LAN" ports on your wired router Turn off the DHCP server on the wireless router. This will lay all of your devices on one flat network that can all talk to each other and to the internet as well. I have no access to the wired router. I just have access to a wall port. I'm using the wireless router within my office to print from multiple PCs. I bet your network admin hates you.
|
|
Quoted:
Quoted:
Quoted:
Quoted:
One thing I do vaguely remember is that I had to run a command prompt and use ipconfig to set a priority for it to default to the wired connection as the primary internet connection. Don't remember how, though. There's no reason to do this. What you should do is have your devices set up like this Internet connection cabled into the "WAN" port on your wired router. Wireless router from one if its "LAN" ports into one of the "LAN" ports on your wired router Turn off the DHCP server on the wireless router. This will lay all of your devices on one flat network that can all talk to each other and to the internet as well. I have no access to the wired router. I just have access to a wall port. I'm using the wireless router within my office to print from multiple PCs. I bet your network admin hates you.
Nahhhh.... He's my boss. sort of.... This is in a secure state facility that is partially state managed network and partially "dark" networked.
|
|
Quoted:
Quoted:
Quoted:
Quoted:
Quoted:
One thing I do vaguely remember is that I had to run a command prompt and use ipconfig to set a priority for it to default to the wired connection as the primary internet connection. Don't remember how, though. There's no reason to do this. What you should do is have your devices set up like this Internet connection cabled into the "WAN" port on your wired router. Wireless router from one if its "LAN" ports into one of the "LAN" ports on your wired router Turn off the DHCP server on the wireless router. This will lay all of your devices on one flat network that can all talk to each other and to the internet as well. I have no access to the wired router. I just have access to a wall port. I'm using the wireless router within my office to print from multiple PCs. I bet your network admin hates you.
Nahhhh.... He's my boss. sort of.... This is in a secure state facility that is partially state managed network and partially "dark" networked.Your boss is the network administrator and you're asking a gun forum for advice on how to fix a networking problem? yeah, I'll bet your boss hates your guts. |
|
Quoted:
Quoted:
dont forget the ip of your printer 192.168.2.3 hmm thats on the same network as your wireless adapter. my solution wont help, as apparently your PC is sourcing printer traffic from its wired connection and not the wireless one, and then I guess the printer does not have a route back to your wired connection's network. hm. we'll have to think a bit more here... |
|
Quoted:
Quoted:
Quoted:
dont forget the ip of your printer 192.168.2.3 hmm thats on the same network as your wireless adapter. my solution wont help, as apparently your PC is sourcing printer traffic from its wired connection and not the wireless one, and then I guess the printer does not have a route back to your wired connection's network. hm. we'll have to think a bit more here... His printer is on the wireless network, not the wired network. So his PC would source traffic going to the printer from the 192.168.2.4 IP. |
|
Quoted:
Quoted:
Quoted:
Quoted:
Quoted:
Quoted:
One thing I do vaguely remember is that I had to run a command prompt and use ipconfig to set a priority for it to default to the wired connection as the primary internet connection. Don't remember how, though. There's no reason to do this. What you should do is have your devices set up like this Internet connection cabled into the "WAN" port on your wired router. Wireless router from one if its "LAN" ports into one of the "LAN" ports on your wired router Turn off the DHCP server on the wireless router. This will lay all of your devices on one flat network that can all talk to each other and to the internet as well. I have no access to the wired router. I just have access to a wall port. I'm using the wireless router within my office to print from multiple PCs. I bet your network admin hates you.
Nahhhh.... He's my boss. sort of.... This is in a secure state facility that is partially state managed network and partially "dark" networked.Your boss is the network administrator and you're asking a gun forum for advice on how to fix a networking problem? yeah, I'll bet your boss hates your guts. He's working on something more important right now and I don't wanna bug him. |
|
Quoted:
Quoted:
Quoted:
Quoted:
dont forget the ip of your printer 192.168.2.3 hmm thats on the same network as your wireless adapter. my solution wont help, as apparently your PC is sourcing printer traffic from its wired connection and not the wireless one, and then I guess the printer does not have a route back to your wired connection's network. hm. we'll have to think a bit more here... His printer is on the wireless network, not the wired network. So his PC would source traffic going to the printer from the 192.168.2.4 IP. if that was the case, it should just *work* but since its not working unless he discos the wired network, im assuming printer traffic is being sourced from the wired IP network, even though the printer is on the wireless IP network. i could very well be way out there though, still thinking though... |
|
Quoted:
Quoted:
Quoted:
Quoted:
Quoted:
dont forget the ip of your printer 192.168.2.3 hmm thats on the same network as your wireless adapter. my solution wont help, as apparently your PC is sourcing printer traffic from its wired connection and not the wireless one, and then I guess the printer does not have a route back to your wired connection's network. hm. we'll have to think a bit more here... His printer is on the wireless network, not the wired network. So his PC would source traffic going to the printer from the 192.168.2.4 IP. if that was the case, it should just *work* but since its not working, im assuming printer traffic is being sourced from the wired IP network, even though the printer is on the wireless IP network. i could very well be way out there though, still thinking though... Basically the second I enable the Wireless network (that the printer is on) Internet Explorer tries to use the wireless connection (with no outside access) instead of the wired connection. |
|
Quoted:
Quoted:
Quoted:
One thing I do vaguely remember is that I had to run a command prompt and use ipconfig to set a priority for it to default to the wired connection as the primary internet connection. Don't remember how, though. There's no reason to do this. What you should do is have your devices set up like this Internet connection cabled into the "WAN" port on your wired router. Wireless router from one if its "LAN" ports into one of the "LAN" ports on your wired router Turn off the DHCP server on the wireless router. This will lay all of your devices on one flat network that can all talk to each other and to the internet as well. I have no access to the wired router. I just have access to a wall port. I'm using the wireless router within my office to print from multiple PCs. You can still do basically the same thing. Log into your wireless router and turn off the DNCP server. Plug your line from the wall into one of the LAN ports. Plug your PC into another one of the LAN ports. * - This wouldn't be in any way legal where I work, but if it's okay with your boss it'll work. |
|
Quoted:
And if it is what in the Hell are you doing asking for network support on Arfcom GD? Let me guess, you have what we call in the business a "rogue" access point that someone bought on their own? Short answer=yeah. Except that it's been authorized due to the weird operating environment here. |
|
Quoted:
I think the easiest thing for you to do is get rid of the routing, and make your wireless router act as a switch for your 10.X.X.X network. Then re-ip your printer and other devices. Ideally, we'd like to keep the wireless router completely seperate from the LAN. |
|
Quoted: Quoted: And if it is what in the Hell are you doing asking for network support on Arfcom GD? Let me guess, you have what we call in the business a "rogue" access point that someone bought on their own? Short answer=yeah. Except that it's been authorized due to the weird operating environment here. Whoever authorized it apparently doesn't know what they're doing. There's a right way to do what you're attempting. Just configure the wireless AP to function as a switch. |
|
Then you can use the route /add routing function to modify your routing table in your windows environment to send all information for the 192.X.X.X out of your wireless Ethernet adapter. Instead of the default gateway of your 10.X network.
I would also change your binding order to have your 10.X network first. |
|
Quoted:
Quoted:
Quoted:
Quoted:
One thing I do vaguely remember is that I had to run a command prompt and use ipconfig to set a priority for it to default to the wired connection as the primary internet connection. Don't remember how, though. There's no reason to do this. What you should do is have your devices set up like this Internet connection cabled into the "WAN" port on your wired router. Wireless router from one if its "LAN" ports into one of the "LAN" ports on your wired router Turn off the DHCP server on the wireless router. This will lay all of your devices on one flat network that can all talk to each other and to the internet as well. I have no access to the wired router. I just have access to a wall port. I'm using the wireless router within my office to print from multiple PCs. You can still do basically the same thing. Log into your wireless router and turn off the DNCP server. Plug your line from the wall into one of the LAN ports. Plug your PC into another one of the LAN ports. * - This wouldn't be in any way legal where I work, but if it's okay with your boss it'll work. assuming that there are no other devices or services on that wireless lan, this is the best option to use. otherwise you'll also have to reconfig all the devices and servers on that wireless lan. but at least then it would be the cleanest solution, and everything will just work for EVERYONE regardless if they are only on wired or only on wireless. otherwise, change your default gateway automatric metric under network adapter TCP/IP settings to make the lan connection be preferred. it should already be preferred since thats the faster connection but maybe not since its not working (this is just another possible theory" more here |
|
Quoted: You need to speak to your network admin about this. It can be done.Quoted: I think the easiest thing for you to do is get rid of the routing, and make your wireless router act as a switch for your 10.X.X.X network. Then re-ip your printer and other devices. Ideally, we'd like to keep the wireless router completely seperate from the LAN. |
|
Quoted:
assuming that there are no other devices or services on that wireless lan, this is the best option to use. otherwise you'll also have to reconfig all the devices and servers on that wireless lan. but at least then it would be the cleanest solution, and everything will just work for EVERYONE regardless if they are only on wired or only on wireless. otherwise, change your default gateway automatric metric under network adapter TCP/IP settings to make the lan connection be preferred. it should already be preferred since thats the faster connection but maybe not since its not working (this is just another possible theory" more here I'm actually a little confused as his default route is already showing as the public address. OP: Type the command "route" into the command promt and post the output. |
|
Quoted:
Because he only has one default gateway between the two interfaces, traffic not in the same subnet as his computer will be forwarded to his default gateway. Unless there is a static route in his operating system to tell it otherwise. As the 192 network is locally connected it should have a route to that network with it's adaptor as the outbound interface. The default is just the route of last resort. |
|
Quoted:
HOLY SHITBALLS, I GOT IT!!!! It was the metric. I gave the LAN a static metric of 10 and the WiFi a metric of 20 and BOOOOOOOM! It's all good! well it still doesnt make any sense. I do dual connection with LAN/WAN every day using your exact situation and I dont need any of this GW metric or route trickery. I can surf with my default route being on the LAN and my home PC network on the WAN. they are different networks. |
|
Quoted:
can you humor me with a route print from your cmd prompt? Sure thing: Interface List
0x1 ........................... MS TCP Loopback interface 0x10004 ...00 26 b9 d5 fe b6 ...... Intel(R) 82567LM Gigabit Network Connection - Packet Scheduler Miniport 0x50003 ...00 22 fb 22 a5 82 ...... Intel(R) WiFi Link 5100 AGN - Packet Schedul er Miniport =========================================================================== =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 10.29.99.1 10.29.99.35 10 0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.4 20 10.29.99.0 255.255.255.0 10.29.99.35 10.29.99.35 10 10.29.99.35 255.255.255.255 127.0.0.1 127.0.0.1 10 10.255.255.255 255.255.255.255 10.29.99.35 10.29.99.35 10 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.2.0 255.255.255.0 192.168.2.4 192.168.2.4 20 192.168.2.4 255.255.255.255 127.0.0.1 127.0.0.1 20 192.168.2.255 255.255.255.255 192.168.2.4 192.168.2.4 20 224.0.0.0 240.0.0.0 10.29.99.35 10.29.99.35 10 224.0.0.0 240.0.0.0 192.168.2.4 192.168.2.4 20 255.255.255.255 255.255.255.255 10.29.99.35 10.29.99.35 1 255.255.255.255 255.255.255.255 192.168.2.4 192.168.2.4 1 Default Gateway: 10.29.99.1 =========================================================================== Persistent Routes: None |
|
Quoted:
Quoted:
can you humor me with a route print from your cmd prompt? Sure thing: Interface List
0x1 ........................... MS TCP Loopback interface 0x10004 ...00 26 b9 d5 fe b6 ...... Intel(R) 82567LM Gigabit Network Connection - Packet Scheduler Miniport 0x50003 ...00 22 fb 22 a5 82 ...... Intel(R) WiFi Link 5100 AGN - Packet Schedul er Miniport =========================================================================== =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 10.29.99.1 10.29.99.35 10 0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.4 20 10.29.99.0 255.255.255.0 10.29.99.35 10.29.99.35 10 10.29.99.35 255.255.255.255 127.0.0.1 127.0.0.1 10 10.255.255.255 255.255.255.255 10.29.99.35 10.29.99.35 10 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.2.0 255.255.255.0 192.168.2.4 192.168.2.4 20 192.168.2.4 255.255.255.255 127.0.0.1 127.0.0.1 20 192.168.2.255 255.255.255.255 192.168.2.4 192.168.2.4 20 224.0.0.0 240.0.0.0 10.29.99.35 10.29.99.35 10 224.0.0.0 240.0.0.0 192.168.2.4 192.168.2.4 20 255.255.255.255 255.255.255.255 10.29.99.35 10.29.99.35 1 255.255.255.255 255.255.255.255 192.168.2.4 192.168.2.4 1 Default Gateway: 10.29.99.1 =========================================================================== Persistent Routes: None As I mentioned, this in red is exactly why this isn't working. You have two "default" routes. Only one of them is valid. |
|
Quoted:
Quoted:
HOLY SHITBALLS, I GOT IT!!!! It was the metric. I gave the LAN a static metric of 10 and the WiFi a metric of 20 and BOOOOOOOM! It's all good! well it still doesnt make any sense. I do dual connection with LAN/WAN every day using your exact situation and I dont need any of this GW metric or route trickery. I can surf with my default route being on the LAN and my home PC network on the WAN. they are different networks. NOTHING here makes sense. I had come to terms with that some time ago. |
|
Quoted:
As I mentioned, this in red is exactly why this isn't working. You have two "default" routes. Only one of them is valid. Yup. That'll do it. Odd, it didn't show the second default route on the ipconfig dump. An even easier answer, especially if you have multiple pcs hooked up to this, is to get rid of the default route on the DHCP address that's handed out by the AP. |
|
Quoted:
HOLY SHITBALLS, I GOT IT!!!! It was the metric. I gave the LAN a static metric of 10 and the WiFi a metric of 20 and BOOOOOOOM! It's all good! Your 0.0.0.0 route using the wifi link shouldn't exist at all. That route (0.0.0.0) means "anything I don't explicitly know about", or in your case, "the internet". Since the wifi router can't get you to the internet, you shouldn't have a default pointing that way. |
|
Quoted:
Quoted:
As I mentioned, this in red is exactly why this isn't working. You have two "default" routes. Only one of them is valid. Yup. That'll do it. Odd, it didn't show the second default route on the ipconfig dump. An even easier answer, especially if you have multiple pcs hooked up to this, is to get rid of the default route on the DHCP address that's handed out by the AP. Usually you can get away with "stealing" the DHCP address from the wireless router, copy the IP address you've been given as a static address and leave out the default route (since you get no internet via the wireless link anyhow) Better yet, find an address on the wireless router that isn't in the DHCP pool but is still in the network. Probably have to break down and ask the network admin/boss for that. |
|
Quoted:
Quoted:
HOLY SHITBALLS, I GOT IT!!!! It was the metric. I gave the LAN a static metric of 10 and the WiFi a metric of 20 and BOOOOOOOM! It's all good! Your 0.0.0.0 route using the wifi link shouldn't exist at all. That route (0.0.0.0) means "anything I don't explicitly know about", or in your case, "the internet". Since the wifi router can't get you to the internet, you shouldn't have a default pointing that way. Yup. My coworker setup the router several months ago and it had been working fine prior to this HDD reformat. Not sure why it went super kooky this time. |