[mdlug] Network routing and subnetting?
Mathew Enders
mathew.enders at prodigy.net
Tue Jan 8 23:37:38 EST 2008
On Tue, 2008-01-08 at 13:45 -0500, Michael ORourke wrote:
> In the "current" setup, are they doing NAT? Sounds like you need to add
> some static routes.
> Something along the lines of:
> network 10.0.1.0 255.255.255.0 go to 10.0.0.215
> network 10.0.2.0 255.255.255.0 go to 10.0.0.223
> I would guess that you have an Internet Router somewhere in the mix on the
> 10.0.0.x, perhaps with a private IP of 10.0.0.1/24. And the default routes
> of the boxes on that net are set to 10.0.0.1, or the equivalent. So anytime
> something tries to connect to say a box on 10.0.0.10 from the 10.0.1.0 net
> (or 10.0.2.0 network), the return packets would be sent to the Internet
> router (10.0.0.1 for example).
>
> -Mike
>
Mike I am not sure I understand what you are saying. Iam attaching a
copy of the dhcp.conf file the section of addresses blocked out for
wireless is 10.0.0.200 - 10.0.0.253 for the proposed solution they are
currently not being used by anything.
#
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
#
ddns-update-style none;
ignore client-updates;
# Network Declaratioon
#
# The range of IP addresses the server
# will issue to DHCP enabled PC clients
# booting up on the network
#
# Set the default gateway to be used by
# the PC clients
subnet 10.0.0.0.0 netmask 255.255.255.0 {
range 10.0.0.0.1 10.0.0.0.48;
range 10.0.0.0.50 10.0.0.0.100;
range 10.0.0.0.124 10.0.0.0.141;
range 10.0.0.0.152 10.0.0.0.199;
option routers 10.0.0.0.254;
}
# Set the amount of time in seconds that
# a client may keep the IP address
default-lease-time 3600;
max-lease-time 7200;
# Don't forward DHCP requests from this
# NIC interface to any other NIC
# interfaces
option ip-forwarding off;
# Set the broadcast address and subnet mask
# to be used by the DHCP clients
option broadcast-address 10.0.0.0.255;
option subnet-mask 255.255.255.0;
# Set the DNS server to be used by the
# DHCP clients
option domain-name-servers 68.94.156.1, 68.94.157.1;
# Set the NTP server to be used by the
# DHCP clients
#option nntp-server 000.000.000.000;
# If you specify a WINS server for your Windows clients,
# you need to include the following option in the dhcpd.conf file:
#option netbios-name-servers 000.000.000.000;
# You can also assign specific IP addresses based on the clients'
# ethernet MAC address as follows Host's name is "unique-name":
host comp-lab-printer {
hardware ethernet 00:04:00:f0:c1:eb;
fixed-address 10.0.0.0.49;
}
host ARDVARC {
hardware ethernet 00:16:17:b2:62:e9;
fixed-address 10.0.0.0.101;
}
host BOSS-dansguardian {
hardware ethernet 00:0c:6e:27:0c:ef;
fixed-address 10.0.0.0.115;
}
host BOSS-dhcp-webmin-ssh {
hardware ethernet 00:10:5a:07:09:c2;
fixed-address 10.0.0.0.123;
}
host level-3-printer {
hardware ethernet 08:00:37:72:42:00;
fixed-address 10.0.0.0.144;
}
host netopia-gateway {
hardware ethernet 00:0f:cc:17:9f:54;
fixed-address 10.0.0.0.254;
}
#
# List an unused interface here
#
#subnet 192.168.2.0 netmask 255.255.255.0 {
#}
More information about the mdlug
mailing list