To change the IP address of a network device in linux can use terminal or GUI. here change by using the terminal mode with the help of few commands .
To reach the command terminal follow instructions -
-> Goes to Applications ---> Accessories ---> Terminal.
-> To check the IP address enter command
ifconfig eth0 <press enter>.
-> Now to change the IP address enter command
ifconfig eth0 <type ip address> netmask <type network mass> up <press enter>
ex.
To reach the command terminal follow instructions -
-> Goes to Applications ---> Accessories ---> Terminal.
-> To check the IP address enter command
ifconfig eth0 <press enter>.
-> Now to change the IP address enter command
ifconfig eth0 <type ip address> netmask <type network mass> up <press enter>
ex.
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
by this command change the ip address of eth0 port . we can check , apply the command -
ifconfig eth0
by this command change the ip address of eth0 port . we can check , apply the command -
ifconfig eth0
For Further Reading,
- How to set Hibernate environment in java application
- How to import xml file in another xml ?
- Simple arithmetic program code in shell programming.
- How to change the ip address in linux
- Hello World !
- Difference among Point to Point,Broadcast and Non-broadcast multiaccess networks
- Command to enable OSPF Routing protocol on Router interface mode
- Why We used areas in OSPF routing protocol?
- How to create a TCL script in router for ping ?
- How to configure GNS3 to a virtual box client.
- How to Injecting the bean properties before load xml in application and out side xml
- How to connect two computers via lan and share data ?
- How to start ping and ipconfig commands on Window xp/7.
- Spring Framework - MethodReplacer Example in spring
- Spring Framework - Example of Database Connectivity with DataSource
- Spring Framework- Execption handling in AOP
- Spring Framework - Example to use @Before annotation with args() in AOP
- Spring Framework-Example to use JoinPoint in AOP
- What is XML ?
- How to insert a record in table using hibernate.
0 comments:
Post a Comment