ifconfig

configure a network interface

copy
585
155
ifconfig -a List the computers networking settings and ports

details |

copy
170
29
ifconfig eth0 broadcast 192.168.1.2Change broadcast address to 192.168.1.2

details |

copy
235
32
ifconfig eth0List the computers networking settings and ports for eth0

details |

copy
232
53
ifconfig eth0 192.168.101.115 netmask 255.255.255.0 upBring up eth0 interface with ifconfig, using netmask 255.255.255.0

details |

copy
166
34
ifconfig eth0 promiscEnable the promiscuous mode of the interface. If selected, all packets on the network will be received by the interface. To disable pass -promisc.

details |

copy
207
31
ifconfig eth0 arpTo Enable the use of the ARP protocol on this interface. To disable pass -arp

details |

copy
197
52
ifconfig eth0 upStart the eth0 interface

details |

copy
191
39
ifconfig eth1 downdisconnect the eth1 interface

details |

copy
191
40
ifconfig eth1 netmask 255.255.255.0Change the netmask on eth1 to 255.255.255.0

details |

copy
187
27
ifconfig eth0 192.168.1.101Changed the ip address to 192.168.1.101 on interface eth0

details |

copy
312
76
ifconfig eth0 192.168.1.103 netmask 255.255.255.0 broadcast 192.168.1.255Set the IP address on eth0 to 192.168.1.102, netmask to 255.255.255.0, and broadcast to 192.168.1.255

details |

copy
209
36
ifconfig eth0 down hw ether 00:00:00:00:00:02Change the mac address of eth0 and disconnect the interface, execute ifconfig eth0 up to start the interface

details |

copy
140
20
ifconfig eth0 mtu 1500Set the maximum transfer unit to 1500

details |

copy
137
27
ifconfig eth0 172.16.126.128 upBright up eth0 with the ip address 172.16.126.128

details |

copy
24
0
ifconfig eth0:0 down.

source | details |

copy
17
0
ifconfig eth0 -promiscdisable promiscuous mode

4 years, 7 months ago examplenow 1 | details |

0
DDWRT Ifconfig
Hello I've run an ifconfig settings but everytime I reboot the unit the command applied is reset. how can I write the settings done into the non volatile memory of the device? thanks you

1 year, 7 months ago dpignataro 0