We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,390 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
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

2
Contributors
1
Reply
8 Hours
Discussion Span
3 Months Ago
Last Updated
2
Views
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

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0547 seconds using 2.64MB