Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Testing home network

Testing home network 11 years 10 months ago #6741

  • Codyjr86
  • Codyjr86's Avatar
  • Offline
  • Frequent Member
  • Posts: 31
  • Karma: 0
So I was reading the subnetting section (www.firewall.cx/ip-subnetting-routing.php) and thought I would test subnetting/dual ip's on my network and to see if I could get them to all communicate...it looked easier than its turning out...

Heres the setup

Belkin router:
Internal interface is 192.168.2.1/24

XP machine1:
address 192.168.2.5/24
GW: 192.168.2.1

XP machine2:
address 192.168.2.35/24
GW: 192.168.2.36

on my Debian box my /etc/network/interfaces file looks like:
auto eth0
address 192.168.2.10
netmask 255.255.255.224
network 192.168.2.0
broadcast 192.168.2.31
gateway 192.168.2.1

auto eth0:0
address 192.168.2.36
netmask 255.255.255.224
network 192.168.2.32
broadcast 192.168.2.63

The problem as I see is that XP machine2 can ping only 192.168.2.36, but cant get to the rest of the network/internet.
Can someone tell me why this isnt working? Thanks for the help.
The administrator has disabled public write access.

Re: Testing home network 11 years 10 months ago #6771

  • ReX
  • ReX's Avatar
  • Offline
  • Frequent Member
  • Posts: 27
  • Karma: 0
Assuming you have XP1 and the debian box plugged into the router and XP2 plugged into your debian box, eth0:0 looks like an alias to me but Im not familiar with linux too much. Try changing the netmask of eth0 to 255.255.255.0 so its on the same network as XP1 and the netmask of XP to /27(255.255.255.224).

let us know how that works out for you.
The administrator has disabled public write access.

Re: Testing home network 11 years 10 months ago #6772

  • Codyjr86
  • Codyjr86's Avatar
  • Offline
  • Frequent Member
  • Posts: 31
  • Karma: 0
Oops...i said the netmask on the xp boxes was 255.255.255.0 but i meant 255.255.255.224. So that would put eth0 on the same network as XP1. With that said, I cant plug xp2 into my debian box because It only has 1 NIC. Sorry about that misunderstanding. Thanks for the help
The administrator has disabled public write access.

Re: Testing home network 11 years 10 months ago #6804

  • ReX
  • ReX's Avatar
  • Offline
  • Frequent Member
  • Posts: 27
  • Karma: 0
I'm not sure that your router will work for a setup like that. Other than that 192.168.2.0/27 is an invalid subnet address. Try using a different subnet for XP1 and eth0.
The administrator has disabled public write access.

Re: Testing home network 11 years 10 months ago #6828

  • Codyjr86
  • Codyjr86's Avatar
  • Offline
  • Frequent Member
  • Posts: 31
  • Karma: 0
Why is 192.168.2.0/27 in invalid subnet address? (27 = 255.255.255.224, right???)

My router seems to be working fine with that address. I think the problem is something I'm missing in my setup on my debian box. Unless of course I'm wrong about the 27 subnet thing...
The administrator has disabled public write access.

Re: Testing home network 11 years 10 months ago #6863

  • ReX
  • ReX's Avatar
  • Offline
  • Frequent Member
  • Posts: 27
  • Karma: 0
192.168.2.0 = 11000000.10101000.00000010.00000000 in binary. Which is the default class C network address. 192.168.2.224 is also an invalid subnet address because the broadcast address will be 255.255.255.255. That is why the total number of useable networks or hosts is 2^x - 2. The first and last are unusable.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.078 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup