Quantcast
Channel: VIRL
Viewing all articles
Browse latest Browse all 1811

Pc images default gateway

$
0
0

@AKuser wrote:

Hello guys,
I wanted to ask how can i define a permanent default gateway for my kali images ?

Every time i am initiating the lab i have to issue
sudo route del default
sudo route add default gw 192.168.102.1

cisco@192:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 172.16.1.1 0.0.0.0 UG 0 0 0 eth0
172.16.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.101.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

What is the reason for these eth0 interfaces ?

1)Can i just have the eth1?
2)How can i permanent have default gateway (192.168.102.1 for example) and not add it after every reboot of the kali?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1811

Trending Articles