router IP Address and computer IP Address are in different subnet still has internet

Stuckfree

Member
On any LAN segment, all hosts (computers) must have the same subnet right?
How come a library has the LAN network configured as follow and still has internet connection?

IPv4 Address. . . . . . . . . . . : 10.1.12.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.1.4.1


As you can see the router IP Address and the computer IP Address are in different subnet.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

I don't believe that it matters which subnet the computer is in as long as it has an active connection and can reach the default gateway although it might have problems reaching other computers. If this is a home router and you are using the default settings then you shouldn't have to worry about subnets.
 

My Computers

System One System Two

  • Operating System
    Windows 8.1 Industry Pro x64
    Manufacturer/Model
    HP Pavillion Elite HPE-250f
    CPU
    Intel i7 860 Quad core 2.8 ghz
    Memory
    8 gb
    Graphics Card(s)
    ATI Radeon HD 5770 1 gb ram
    Monitor(s) Displays
    Alienware 25 AW2521HF
    Screen Resolution
    1920x1080 &1680x1050
    Hard Drives
    1 TB x2
    Other Info
    https://www.cnet.com/products/hp-pavilion-elite-hpe-250f/
  • Operating System
    Windows 2012 R2 Data center/Linux Mint
    Manufacturer/Model
    Dell Poweredge T140
    CPU
    i3 9100 3.6GHz, 8M cache, 4C/4T
    Memory
    8GB 2666MT/s DDR4 ECC UDIMM
    Screen Resolution
    1680x1050
    Hard Drives
    1 TB & 360 GB x2
    Other Info
    https://www.dell.com/en-us/work/shop/productdetailstxn/poweredge-t140?~ck=bt
Re: router IP Address and computer IP Address are in different subnet still has inter

We tend to think of Routers as devices that serve the internet to our devices, via wireless or Ethernet, but they are basically a type of managed switch that route data packets.

A library is likely to have hard routes, from the subnet to the gateway, programmed either in the Router or more likely in intermediate subnet managed switches to ensure the packets to and from the internet reach their objective
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro x64 Latest Release Preview
    Monitor(s) Displays
    Acer G276HL 27", (DVi) + Samsung 39" HDTV (HDMI)
    Screen Resolution
    2 x 1920x1080 @50Hz
  • Manufacturer/Model
    Real World Computers (Custom by Me)
    CPU
    AMD FX8350 Vishera 8 Core @4GHz
    Motherboard
    Asus M5A78L-M USB3
    Memory
    32GB [4x8GB] DDR3 1600 MHz
    Graphics card(s)
    Asus nVidia GTX750TI-OC-2GD5 (2GB DDR5)
    Sound Card
    ASUS Xoner DG + SPDIF to 5.1 System + HDMI
    Monitor(s) Displays
    Samsung 32" TV
    Screen Resolution
    1920 x 1080
    Hard Drives
    Internal
    Crucial CT256MX100SSD1 256GB SSD,
    Seagate ST2000DM001-1CH1 2TB,

    External (USB3)
    Seagate Backup+ Hub BK SCSI Disk 8TB
    2.5/3.5 Hot Swap Cradle, USB3 + eSata (client HDDs)
    NAS 4TB
    PSU
    Aerocool Templarius Imperator 750W 80+ Silver
    Case
    AeroCool X-Warrior Red Devil Tower
    Cooling
    Hyper103 CPU, Rear 120mm, Front 2x120mm, Side 2x120mm
    Internet Speed
    68 MB Down 18.5 MB Up
    Other Info
    Six Sensor Auto / Manual Digital cooling (Fan) control with Touch control Panel
Re: router IP Address and computer IP Address are in different subnet still has inter

I don't believe that it matters which subnet the computer is in as long as it has an active connection and can reach the default gateway although it might have problems reaching other computers. If this is a home router and you are using the default settings then you shouldn't have to worry about subnets.

Hi townsbg,

The LAN network computers has to be on the same subnet as the router, at my home router I tried to configured my pc to another subnet different than the router subnet and the internet cut immediately, so still don't know how the IT guy working at the library did the configuration.

Regard.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

We tend to think of Routers as devices that serve the internet to our devices, via wireless or Ethernet, but they are basically a type of managed switch that route data packets.

A library is likely to have hard routes, from the subnet to the gateway, programmed either in the Router or more likely in intermediate subnet managed switches to ensure the packets to and from the internet reach their objective

Hi Barman58,

Do you mean hard routes as manually configure the route print table right?
Do you know anything about the route print table configuration and what other devices requirement to accomplish the task of having internet while your computer and router ip address on a different subnet?

Regard.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

Do you have a specific reason for subnetting on your router? Home networks generally should be left for automatic configuration of ipaddresses unless you need to reserve a specific ipaddress for a specific computer. Subnetting is more for larger offices and enterprises with lots of computers and servers. Your router may not even have the capability for subnetting. If your internet works then why are you concerned about it?
 

My Computers

System One System Two

  • Operating System
    Windows 8.1 Industry Pro x64
    Manufacturer/Model
    HP Pavillion Elite HPE-250f
    CPU
    Intel i7 860 Quad core 2.8 ghz
    Memory
    8 gb
    Graphics Card(s)
    ATI Radeon HD 5770 1 gb ram
    Monitor(s) Displays
    Alienware 25 AW2521HF
    Screen Resolution
    1920x1080 &1680x1050
    Hard Drives
    1 TB x2
    Other Info
    https://www.cnet.com/products/hp-pavilion-elite-hpe-250f/
  • Operating System
    Windows 2012 R2 Data center/Linux Mint
    Manufacturer/Model
    Dell Poweredge T140
    CPU
    i3 9100 3.6GHz, 8M cache, 4C/4T
    Memory
    8GB 2666MT/s DDR4 ECC UDIMM
    Screen Resolution
    1680x1050
    Hard Drives
    1 TB & 360 GB x2
    Other Info
    https://www.dell.com/en-us/work/shop/productdetailstxn/poweredge-t140?~ck=bt
Re: router IP Address and computer IP Address are in different subnet still has inter

Do you have a specific reason for subnetting on your router? Home networks generally should be left for automatic configuration of ipaddresses unless you need to reserve a specific ipaddress for a specific computer. Subnetting is more for larger offices and enterprises with lots of computers and servers. Your router may not even have the capability for subnetting. If your internet works then why are you concerned about it?


Hi townsbg,

Basically just want to get the understanding of how your computer ip address subnet different from your router ip address subnet still be able to connect to the internet.

Regard.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

Barman58 has provided one possible explanation and there may be others. Only the library IT staff will know for sure and as there are security implications it is unlikely they would tell you.
 

My Computer

Re: router IP Address and computer IP Address are in different subnet still has inter

The default gateway is there to allow communication outside of the subnet so therefore it is independent of the subnet. Now other devices would need to have addresses within the subnet to allow direct communication however the default gateway is there to allow communication between subnets not within a subnet. It is actually the address for the router. I hope that helps. https://en.wikipedia.org/wiki/Default_gateway
 

My Computers

System One System Two

  • Operating System
    Windows 8.1 Industry Pro x64
    Manufacturer/Model
    HP Pavillion Elite HPE-250f
    CPU
    Intel i7 860 Quad core 2.8 ghz
    Memory
    8 gb
    Graphics Card(s)
    ATI Radeon HD 5770 1 gb ram
    Monitor(s) Displays
    Alienware 25 AW2521HF
    Screen Resolution
    1920x1080 &1680x1050
    Hard Drives
    1 TB x2
    Other Info
    https://www.cnet.com/products/hp-pavilion-elite-hpe-250f/
  • Operating System
    Windows 2012 R2 Data center/Linux Mint
    Manufacturer/Model
    Dell Poweredge T140
    CPU
    i3 9100 3.6GHz, 8M cache, 4C/4T
    Memory
    8GB 2666MT/s DDR4 ECC UDIMM
    Screen Resolution
    1680x1050
    Hard Drives
    1 TB & 360 GB x2
    Other Info
    https://www.dell.com/en-us/work/shop/productdetailstxn/poweredge-t140?~ck=bt
Re: router IP Address and computer IP Address are in different subnet still has inter

Just out of interest I'm running a TP-Link Archer C7 Router, The router is 192.168.0.1 but the subnet used for both the main and the guest networks, (Both have Ethernet, 2.4GHz and 5GHz wireless) is 192.168.1.1 that's how it came out of the box but there is a full set of manual controls for manual routing tables if I want it ;) for the manual routes you just enter a subnet address and it's relevant Gateway address (eg 192.168.5.1-255, 192.168.1.150)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro x64 Latest Release Preview
    Monitor(s) Displays
    Acer G276HL 27", (DVi) + Samsung 39" HDTV (HDMI)
    Screen Resolution
    2 x 1920x1080 @50Hz
  • Manufacturer/Model
    Real World Computers (Custom by Me)
    CPU
    AMD FX8350 Vishera 8 Core @4GHz
    Motherboard
    Asus M5A78L-M USB3
    Memory
    32GB [4x8GB] DDR3 1600 MHz
    Graphics card(s)
    Asus nVidia GTX750TI-OC-2GD5 (2GB DDR5)
    Sound Card
    ASUS Xoner DG + SPDIF to 5.1 System + HDMI
    Monitor(s) Displays
    Samsung 32" TV
    Screen Resolution
    1920 x 1080
    Hard Drives
    Internal
    Crucial CT256MX100SSD1 256GB SSD,
    Seagate ST2000DM001-1CH1 2TB,

    External (USB3)
    Seagate Backup+ Hub BK SCSI Disk 8TB
    2.5/3.5 Hot Swap Cradle, USB3 + eSata (client HDDs)
    NAS 4TB
    PSU
    Aerocool Templarius Imperator 750W 80+ Silver
    Case
    AeroCool X-Warrior Red Devil Tower
    Cooling
    Hyper103 CPU, Rear 120mm, Front 2x120mm, Side 2x120mm
    Internet Speed
    68 MB Down 18.5 MB Up
    Other Info
    Six Sensor Auto / Manual Digital cooling (Fan) control with Touch control Panel
Re: router IP Address and computer IP Address are in different subnet still has inter

Just out of interest I'm running a TP-Link Archer C7 Router, The router is 192.168.0.1 but the subnet used for both the main and the guest networks, (Both have Ethernet, 2.4GHz and 5GHz wireless) is 192.168.1.1 that's how it came out of the box but there is a full set of manual controls for manual routing tables if I want it ;) for the manual routes you just enter a subnet address and it's relevant Gateway address (eg 192.168.5.1-255, 192.168.1.150)



Hi barman58,

It sound to me there are 2 routers involved for the configuration to success is that right?

1st router IP Address: 192.168.0.1
2nd router IP Address: 192.168.1.1

Then in either router I have to configure the routing table manually either input into 1st or 2nd router is that right?

Regard.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

Just out of interest I'm running a TP-Link Archer C7 Router, The router is 192.168.0.1 but the subnet used for both the main and the guest networks, (Both have Ethernet, 2.4GHz and 5GHz wireless) is 192.168.1.1 that's how it came out of the box but there is a full set of manual controls for manual routing tables if I want it ;) for the manual routes you just enter a subnet address and it's relevant Gateway address (eg 192.168.5.1-255, 192.168.1.150)


Just out of interest I'm running a TP-Link Archer C7 Router, The router is 192.168.0.1 but the subnet used for both the main and the guest networks, (Both have Ethernet, 2.4GHz and 5GHz wireless) is 192.168.1.1 that's how it came out of the box but there is a full set of manual controls for manual routing tables if I want it ;) for the manual routes you just enter a subnet address and it's relevant Gateway address (eg 192.168.5.1-255, 192.168.1.150)



Hi barman58,

It sound to me there are 2 routers involved for the configuration to success is that right?

1st router IP Address: 192.168.0.1
2nd router IP Address: 192.168.1.1

Then in either router I have to configure the routing table manually either input 1st router IP Address which is 192.168.0.1 into the 2nd router routing table or vice versa, is that right?

Regard.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

Barman58 has provided one possible explanation and there may be others. Only the library IT staff will know for sure and as there are security implications it is unlikely they would tell you.

Hi LMiller7,

Barman58 has provided one possible explanation and there may be others.
Do you know what others options that I have to simulate how the IT guy in the library did that?

Regard.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

The default gateway is there to allow communication outside of the subnet so therefore it is independent of the subnet. Now other devices would need to have addresses within the subnet to allow direct communication however the default gateway is there to allow communication between subnets not within a subnet. It is actually the address for the router. I hope that helps. https://en.wikipedia.org/wiki/Default_gateway


Hi townsbg,

Is that means I need a 2 routers with different IP Address? It might 1st router 192.168.0.1 and 2nd router 192.168.0.2?

Regard
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

You can get a router with multiple interfaces. I don't see why anyone would want to do subnetting on a home network.
 

My Computers

System One System Two

  • Operating System
    Windows 8.1 Industry Pro x64
    Manufacturer/Model
    HP Pavillion Elite HPE-250f
    CPU
    Intel i7 860 Quad core 2.8 ghz
    Memory
    8 gb
    Graphics Card(s)
    ATI Radeon HD 5770 1 gb ram
    Monitor(s) Displays
    Alienware 25 AW2521HF
    Screen Resolution
    1920x1080 &1680x1050
    Hard Drives
    1 TB x2
    Other Info
    https://www.cnet.com/products/hp-pavilion-elite-hpe-250f/
  • Operating System
    Windows 2012 R2 Data center/Linux Mint
    Manufacturer/Model
    Dell Poweredge T140
    CPU
    i3 9100 3.6GHz, 8M cache, 4C/4T
    Memory
    8GB 2666MT/s DDR4 ECC UDIMM
    Screen Resolution
    1680x1050
    Hard Drives
    1 TB & 360 GB x2
    Other Info
    https://www.dell.com/en-us/work/shop/productdetailstxn/poweredge-t140?~ck=bt
Re: router IP Address and computer IP Address are in different subnet still has inter

You can get a router with multiple interfaces. I don't see why anyone would want to do subnetting on a home network.

Hi townsbg,

If I a get a router with multiple interfaces, is there a special configuration for the router?

I haven't work for corporation company yet, as a home user with an ISP router by default it only has two interfaces; a WAN interface and a LAN interface is that right?
Just out of curiosity how many WAN port and LAN port it has in a multiple interfaces router, a picture would be great.


Regard.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

Sorry but you are starting to ask questions that are beyond my knowledge and beyond the forum's scope. However home routers are designed to host one network. You will likely have to get a larger one designed for enterprises to have multiple networks.
 

My Computers

System One System Two

  • Operating System
    Windows 8.1 Industry Pro x64
    Manufacturer/Model
    HP Pavillion Elite HPE-250f
    CPU
    Intel i7 860 Quad core 2.8 ghz
    Memory
    8 gb
    Graphics Card(s)
    ATI Radeon HD 5770 1 gb ram
    Monitor(s) Displays
    Alienware 25 AW2521HF
    Screen Resolution
    1920x1080 &1680x1050
    Hard Drives
    1 TB x2
    Other Info
    https://www.cnet.com/products/hp-pavilion-elite-hpe-250f/
  • Operating System
    Windows 2012 R2 Data center/Linux Mint
    Manufacturer/Model
    Dell Poweredge T140
    CPU
    i3 9100 3.6GHz, 8M cache, 4C/4T
    Memory
    8GB 2666MT/s DDR4 ECC UDIMM
    Screen Resolution
    1680x1050
    Hard Drives
    1 TB & 360 GB x2
    Other Info
    https://www.dell.com/en-us/work/shop/productdetailstxn/poweredge-t140?~ck=bt
Re: router IP Address and computer IP Address are in different subnet still has inter

when I was building networks for commercial use, the sub-netting was always achieved using Multi-port managed Switches, these started at several hundreds of pounds and went up to several thousands, I think prices are lower these days due to economies of scale. One idea would be to Google Managed Switch and see if you can find a .PDF manual to learn how to program them Cisco may be a good place to start
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro x64 Latest Release Preview
    Monitor(s) Displays
    Acer G276HL 27", (DVi) + Samsung 39" HDTV (HDMI)
    Screen Resolution
    2 x 1920x1080 @50Hz
  • Manufacturer/Model
    Real World Computers (Custom by Me)
    CPU
    AMD FX8350 Vishera 8 Core @4GHz
    Motherboard
    Asus M5A78L-M USB3
    Memory
    32GB [4x8GB] DDR3 1600 MHz
    Graphics card(s)
    Asus nVidia GTX750TI-OC-2GD5 (2GB DDR5)
    Sound Card
    ASUS Xoner DG + SPDIF to 5.1 System + HDMI
    Monitor(s) Displays
    Samsung 32" TV
    Screen Resolution
    1920 x 1080
    Hard Drives
    Internal
    Crucial CT256MX100SSD1 256GB SSD,
    Seagate ST2000DM001-1CH1 2TB,

    External (USB3)
    Seagate Backup+ Hub BK SCSI Disk 8TB
    2.5/3.5 Hot Swap Cradle, USB3 + eSata (client HDDs)
    NAS 4TB
    PSU
    Aerocool Templarius Imperator 750W 80+ Silver
    Case
    AeroCool X-Warrior Red Devil Tower
    Cooling
    Hyper103 CPU, Rear 120mm, Front 2x120mm, Side 2x120mm
    Internet Speed
    68 MB Down 18.5 MB Up
    Other Info
    Six Sensor Auto / Manual Digital cooling (Fan) control with Touch control Panel
Re: router IP Address and computer IP Address are in different subnet still has inter

Sorry but you are starting to ask questions that are beyond my knowledge and beyond the forum's scope. However home routers are designed to host one network. You will likely have to get a larger one designed for enterprises to have multiple networks.


Hi townsbg,

Thanks for the help I'll google it.

Regard.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Re: router IP Address and computer IP Address are in different subnet still has inter

when I was building networks for commercial use, the sub-netting was always achieved using Multi-port managed Switches, these started at several hundreds of pounds and went up to several thousands, I think prices are lower these days due to economies of scale. One idea would be to Google Managed Switch and see if you can find a .PDF manual to learn how to program them Cisco may be a good place to start

Hi barman58,

You are right different router has different features is hard to explain in a nutshell here in this forum for the configuration, I'll check cisco website to see if there any explanation or video of how is done to configure a pc that has different subnet than a router to have internet.

Thanks again man,
Regard.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    2 G
    Motherboard
    HP
    Memory
    2 G
    Graphics Card(s)
    AMD
    Sound Card
    REALTEK
    Monitor(s) Displays
    2
Back
Top