Skip to content

Lab1.1RoutingandDMZ

Beth edited this page Jan 15, 2025 · 20 revisions

RW01

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

FW01

To begin with, I set the hostname of the firewall with set system host-name [name], as seen below

image

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 (then commit and save)

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]

image

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

image

Gateway and DNS

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.2
  • set system name-server 10.0.17.2

Commit + save

Web-01

[]

Clone this wiki locally