配置完IP网关后这样,eth0里没有IP等信息
来源:2-10 OOTB环境的使用

慕虎5466127
2021-08-09
配置完IP网关后这样,eth0里没有IP等信息
[hadoop@hadoop000 ~]$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::20c:29ff:fee6:43a0 prefixlen 64 scopeid 0x20
inet6 2409:8920:4c10:199d:20c:29ff:fee6:43a0 prefixlen 64 scopeid 0x0
ether 00:0c:29:e6:43:a0 txqueuelen 1000 (Ethernet)
RX packets 124 bytes 15656 (15.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 646 (646.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:0a:50:ad txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
2回答
-
Byakuyako
2022-02-20
朋友 你这个最后是怎么解决的,我现在配置完也是只有inet6
00 -
Michael_PK
2021-08-09
这个需要严格按照ootb环境进行修改,1)mac地址 2)ip地址 3)dns 这几个是一定要配置对才行。
可以参考:https://jingyan.baidu.com/article/15622f24c6f0aefdfcbea5d8.html
这些是linux的最基础的操作,建议可以到慕课官网找个linux网络的视频,了解下。linux是学大数据必备的
022021-08-13
相似问题