Start New Discussion Reply to this Discussion how to change ip address randomly in ubuntu through terminal
hi,
please tell me how to change ip address randomly in ubuntu through terminal.
thanx in advance
lolboy123
Newbie Poster
1 post since Jan 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
What do you mean by "change IP randomnly"? You normally wouldn't do this since you need an IP in a certain Range with proper MAsk and Gateway for proper communications.
Do assign an IP via command line, you would use (for example):
ifconfig eth0 192.168.1.2 netmask 255.255.255.0
route add default gw 192.168.1.1
ifconfig eth0 down
ifconfig eth0 up
CimmerianX
Posting Pro
503 posts since Jul 2010
Reputation Points: 49
Solved Threads: 60
Skill Endorsements: 10
© 2013 DaniWeb® LLC
Page rendered in 0.0547 seconds
using 2.64MB