I am wondering if it is possible to use one network card to access two subnet in windows. I need to access a (LAN) local ip 192.168.0.5/255.255.255.0 and WAN with DHCP. I google that someone suggests to set two ip addresses to one NIC but I don't understand how to do that if the IP for WAN is from DHCP. Do I really have to use router? I don't know much about router, can I use a HUB instead to work it out?
Some more information and first trial
It is used in my office. Total have 5 computers connected to the wall socket (WAN), IP is DHCP. I have one device with ip set to 192.168.0.5/255.255.255.0 which is accessible by tcp/ip, so I need to setup the network card to the same subnet to access that device. However, if I setup the network card in that subnet, I cannot use the WAN. I am looking for a way to use both. Even I see that someone use setup two ip addresses to one NIC but there is only one port in the NIC so I think we still need a router to do so? I borrow a router, have the WAN port connect to the wall socket, one LAN port connect to the NIC and connect another LAN port to the device of 192.168.0.5 With this setup, I can access WAN and that local device without any problem. However, all other the computers (connect to WAN via the wall socket) in my office can no longer access the share folder in my computer any more. I don't know what's going on.