32. Validating Network Routes
Beginner Mode
Start your terminal to use beginner mode.
Scenario
Your server uses multiple network interfaces and may have incorrect routing for a specific subnet. You need to verify and fix it to ensure proper traffic flow.
Task
Display the current routing table to identify existing routes, check if a route for the 10.10.0.0/16 subnet exists and which interface and gateway it uses. If the route goes through eth0, delete the existing route and add a new route for 10.10.0.0/16 via gateway 192.168.100.1 using interface eth1.
Example
# Before (incorrect route through eth0)
10.10.0.0/16 routed via eth0
Gateway: 192.168.50.1
Traffic experiencing packet loss
# After (corrected route through eth1)
10.10.0.0/16 routed via eth1
Gateway: 192.168.100.1
Route verified and active
Terminal requires a larger screen
Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.
Linux Terminal Environment
Write and execute your solution in the terminal below.
Essential
Linux 0/29
AWS 0/10
Kubernetes 0/15
CI/CD 0/5
Networking 0/9
Need more practice in this area? Explore more questions →
Google
Accenture
Coinbase
Adobe
EPAM
Twitch
Amazon
Kayak
Autodesk
Lyft
Revolut
RedHat
Bloomberg
Datadog
Palantir
TCS
HashiCorp
DeutscheBank
GitHub
Apple
Cloudflare
Stripe
Microsoft
NVIDIA
GoDaddy
X
SAP
Spotify
Airbnb
Meta
Reddit
Yelp
Okta
Dropbox
Slack
ActivisionBlizzard
Zscaler
Uber
IBM
DeliveryHero
Robinhood
GitLab
Shopify
Samsung
Elastic
Twilio
Netflix
CrowdStrike
Ubisoft
Anthropic
Capital One
Splunk
Intel
AMD
Databricks