Re: Need help with DHCP Client & Name servers



Ken.and.Ann@xxxxxxxxx wrote:
Very similar to the thread "DHCP client - Help configuring.", from

The short answer:

-make your VMS machine a fixed IP machine. And forget about DHCP. That simple.

step:

DELETE/CONFIRM SYS$SYSTEM:TCPIP$*.DAT

It should delete the following files: (some of those may not exist on your system yet:

Directory SYS$COMMON:[SYSEXE]

TCPIP$CONFIGURATION.DAT;1 TCPIP$HOST.DAT;1 TCPIP$NETWORK.DAT;1
TCPIP$PROXY.DAT;1 TCPIP$ROUTE.DAT;1 TCPIP$SERVICE.DAT;1

This zaps your TCPIP configuration completely.

Choose a private IP subnet for your LAN.

Your choises are in:
10.0.0.0/8 (aka: 10.*.*.* with only first 8 bits significant)
172.16.0.0/12
192.168.0.0/16

(I think there are a couple others but those are the main IP blocks reserved for private use within a LAN).


The last one seems to be the most common for consumer routers's defaults IPs.

Your router's documentation should provide you with the default IP of your router. Lets assume for a minute that it is 192.168.0.1 for safe of discussion. a 16 bit subnet means a 255.255.0.0 network mask. (first 16 bits set to 1).

With this in mind, let say you choose 192.168.0.23 for your VMS host's primary IP interface.

You already know 2 IPs for your ISP's DNS service.
> Servers: 220.233.0.4, 220.233.0.3

With this information, you are reading to go into @SYS$MANAGER:TCPIP$CONFIG

and then configure your core environment:
domain: chocolate.com (or anything you want that makes sense)

Configure your primary interface to have
IP: 192.168.0.23 with a /16 CIRD network or 255.255.0.0 network mask )

It may also prompt you for a host name. For instance "pastry". (which will be pastry.chocolate.com as fully qualified host name) inside your LAN)


For routing, choose NO for ROUTED or GATED routing. You can then enter a default route (gateway in PC parlance), and give the ip address of your router. (192.168.0.1 in this example).


You then define the bind resolver. You can then enter the two IPs from your ISP as bind servers. It may prompt you for host names (which get defined in the hosts database to point to those IP addresses).


You should then have enough configured to have a working TCPIP stack.

Once the start has started:

@SYS$MANAGER:TCPIP$DEFINE_COMMAND defines a whole bunch of "unix" commands.

ifconfig -a (lists your IP interfaces (IP addresses).
ping <ip address>
traceroute <ip address or host name>

Some additional things you could do:

TCPIP SET HOST ROUTER/ADDRESS=192.168.0.1

This way, you can "telnet ROUTER" or "telnet router.chocolate.com" and you connect to that router.

NOte that in all of the above, you have not configured a BIND *SERVER*, only a bind resolver. The TCPIP SET NAME command can be confising because some qualifiers apply to a configured bind server while most apply to the bind resolver.

.



Relevant Pages

  • Re: Exiscan+clamav
    ... > # The next three settings create two lists of domains and one list of hosts. ... > # The second setting specifies domains for which your host is an incoming ... > # This router routes addresses that are not in local domains by doing a DNS ...
    (freebsd-questions)
  • Re: Networking Questions
    ... The DNS address is sent as a secondary element, mostly because there's no point for nearly all internet connections without DNS. ... The PC asks for an address by sending a DHCP request out the route to the DSL device which is either a modem or a router. ... No need for DNS until host names get involved and those hosts are on a different network segment. ...
    (comp.sys.ibm.as400.misc)
  • 2wire router configuration
    ... firewall on this router and to configure my network ... Go to Home Network -> Advanced Settings ... X Default DHCP Pool ... Configure host to use DHCP with host name sent ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Problem related with Subnetting
    ... Can a host in 10.0.0.X talk with a host in ... router or gateway machine. ... The way that machines locate each other is that they send out broadcast ... ARP packets asking for information on the destination IP. ...
    (comp.unix.programmer)
  • Re: router causing ssh etc. slowdown?
    ... >> port on their public IP from a host on their own LAN. ... Let's say host A starts a TCP connection from its ... The router sends the SYN packet to ...
    (Fedora)