在Solaris上配置宽带连接

本文介绍了如何通过简单的步骤配置机器的网络连接,并确定使用的网卡类型。首先,需要使用以太网线将设备连接到网络,然后检查系统日志以确认连接已建立并识别网卡类型。接下来可以通过几种方式配置网络:使用DHCP自动获取地址或者手动设置IP地址。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Plug an Ethernet cable into the machine, and look in /var/adm/messages
for the "link up" notice:

banff[157]% grep "link up" /var/adm/messages
Sep 14 08:53:49 banff bge: [ID 801725 kern.info] NOTICE: bge0: link up
1000Mbps Full-Duplex (initialized)

Now you know your Ethernet device type, and can use DHCP or manual
network configuration:

# ifconfig bge0 plumb
# ifconfig bge0 dhcp
# ifconfig -a

or

# ifconfig bge0 plumb
# ifconfig bge0 up 10.0.0.15 netmask 255.255.255.0
# route add default 10.0.0.1
# ifconfig -a

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值