This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Joining two networks on one PC

0

Hi, I was wondering if anyone can help me. I have 2 NICs on one pc, IP of the first router is 192.168.1.1 and its a wired only network with internet access. The second is a dual band wireless router IP 192.168.0.1

I was wondering how I would allow the wireless router to use the internet connection on the first router so the traffic passes through the pc.

I tried bridging the connections which didn't seem to work at first but I managed to get one device connected to the wireless connection with internet access but any other devices I connected were unable to reach the internet.

I also tried setting the WAN ip of the wireless router to 192.168.1.15 using the IP of the first router for the WAN gateway and DNS but I couldn't connect at all. I was just wondering what route I should be going for.

Any help would be appreciated.

asked 04 Feb '15, 04:34

Musket's gravatar image

Musket
6113
accept rate: 0%


One Answer:

1

Note really a Wireshark question. You'll likely get better support at the appropriate forums for your OS.

answered 04 Feb '15, 05:26

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Hi, thanks for your comment. I just thought I'd ask here as as I am trying to use wireshark to monitor wifi traffic going through a router. Is there a better was to do this than by the methods I have mentioned using windows?

Thanks

(04 Feb '15, 06:26) Musket

Buy a cheap switch that can do port mirroring and put it between the Wifi AP and the internet router, mirror the traffic to another port and connect your monitoring system to that port.

See the wiki page for switches for more info.

(04 Feb '15, 06:59) grahamb ♦

Ok great, thanks for the help. I'll have a look into that.

(04 Feb '15, 12:23) Musket