-
Notifications
You must be signed in to change notification settings - Fork 0
Lab1.1RoutingandDMZ
To start with, I reset the champuser password to one I know well, and created a new user called "echadbourne" with a separate password. I then gave this new user sudo permissions with sudo usermod -aG sudo echadbourne
I also updated the hostname to rw01-elizabeth with sudo hostnamectl set-hostname rw01-elizabeth
Then I set the ip address to 10.0.17.31 with a gateway and dns of 10.0.17.2 (I accidently typed 10.0.17.21 initially, caught it immediately, went to fix it, and the vm won't accept the new ip address so I restarted)
After the restart things were working well, and I could access the internet, so thats is for the rw01 setup
To begin with, I set the hostname of the firewall with set system host-name [name], as seen below

You can check the status of interfaces with show interfaces, and in the initial setup you want to make sure there are no dhcp assignments. If there are any, make sure to delete them:
-
delete interfaces ethernet [interface name] address dhcp(thencommitandsave)
I didn't have any dhcp interfaces, so I moved on
Make sure to set interface descriptions with set interfaces ethernet [interface name] description [description]

Then set the interface ip addresses with set interfaces ethernet eth[x] address [address]/[mask]

Set the default gateway and DNS server to the WAN gateway, 10.0.17.2
set protocols static route 0.0.0.0/0 next-hop 10.0.17.2set system name-server 10.0.17.2
Commit + save
I set the ip information according to IP Assignments using the nmtui tool, then created an "echadbourne" user and added it to the wheel group. I referenced the specifics for this from one of my old labs, found here