So four years ago I started trying to write things on this site, and quickly became overwhelmed with stuff.
maybe I will start back to updating this site.
So four years ago I started trying to write things on this site, and quickly became overwhelmed with stuff.
maybe I will start back to updating this site.
I just about have this thing running the way I need it to.
My requirement (desired endstate) was to have a Linux server that I could use for multiple training courses. Specifically CCNP, Cisco ASA, and Voice over IP.
The server is configured to provide a bunch of different services, all for IPv4 and IPv6
I still have to work out a few little things
One of things I really worked hard on was making the server generally usable by a non-Linux user.
The biggest chunk of work I did was to write and re-write a bash script to set the addressing information and start/stop DHCP as appropriate for the particular lab being worked on.
So over the next few… time periods… I will post individual entries on the setup and configuration of each of the services.
2015. School (college) starts in 6 days. Also have full intentions of building a one-size-fits-almost-everything linux server.
Additionally plan on VCP-DCV this year, and a Cisco cert of some type to renew everything.
Gonna be busy!
Setting an IPv6 address from Administrative CLI:
netsh interface ipv6 set address "Local Area Connection" [address] unicast
The network space seems to automatically be included in the routing table as ‘on-link’. Also in the routing table is a route to unspecified (::1/128) with the gateway ‘on-link’.
Flipping between static addresses and dhcp addresses is a pain… right-click, click, click, double-click, type, type, type, type…. etc.
So – to change the address on the windows box using NETSH —
First, You must have an ADMINISTRATIVE command line (Start > Accessories > Command Line [right click select “run as administrator”]
To set a static ipv4 address:
netsh interface ipv4 set address name="Local Area Connection" static [IP] [mask] [gateway]
To set to use DHCP:
netsh interface ipv4 set address name="Local Area Connection" source=dhcp
And DONE
This works very well in a single-threaded virtual machine.
I can’t stand it when Windows 7 (and others I’m sure) default to having a crap-ton of software interfaces … just because there are a crap ton of physical interfaces on the machine. I’m not going to use 6to4 or Teredo, so why does the output of ipconfig have to have them listed?!?
So, to turn all that stuff off:
netsh interface ipv6 isatap set state disable netsh interface ipv6 6to4 set state disable netsh interface teredo set state disable
I was presented with a particular problem (DHCPv6 and Windows 7) and had to do some learning.
Practical IPv6 for Windows Administrators by Ed Horley was VERY helpful.
So the things to remember
Temporary addresses WILL be formulated if either:
a) The A flag is ON in Router Advertisements. To turn the A flag off, use the command
ipv6 nd prefix [applicable prefix/cidr] no auto-config
on the advertising interface
b) Privacy extensions are enabled on the windows machine. To turn them off, use the commands
netsh interface ipv6 set privacy state=disabled store=active netsh interface ipv6 set privacy state=disabled store=persistent
This only turns off temporary addresses, NOT the randomized identifiers. To turn those off, use the commands
netsh interface ipv6 set global randomizeidentifiers=disabled store=active netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent
I plan on recording and saving things here that i can refer to later. Probably lots of links. Networking. School. Motorcycles.