Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Configuring networking interface on Sun Blade 1500 Post 90973 by annointed3 on Tuesday 29th of November 2005 09:46:36 AM
Old 11-29-2005
Configuring networking interface on Sun Blade 1500

Hi,

I am attempting to configure my ethernet interface on a Sun Blade 1500. I am testing out my network interface my connecting a crossover cable from my blade to a windows box. I would like to assign an ip address of 10.0.0.2 to "bge0" and netmask of "255.0.0.0". I have typed the following:

# ifconfig bge0 plumb
#ifconfig bge0 10.0.0.2 netmask 255.0.0.0
#ifconfig bge0 up
# ping 10.0.0.3 (ip address of windows machine)
No answer from 10.0.0.3

Why is my network interface not configured properly? I know on my windows box that I have 10.0.0.1 defined as the default gateway. Is this necessary also on my Sun Blade? If so, what is the syntax for creating a default gateway with that ip address?

I tried the following:

#route add default gateway 10.0.0.1

but when trying to ping windows box, I still did not get any answer
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Configuring networking interfaces on Solaris 10

Hi, I am trying to configure an ip address, netmask, and default gateway on my solaris machine. For example, in Linux I would do the following command: #ifconfig eth0 xx.xx.xx.xx netmask 255.0.0.0 #add route or route add default xxx.xxx.xxx.xxx In Solaris 10, I believe the commands are... (7 Replies)
Discussion started by: annointed3
7 Replies

2. Solaris

Sun blade 1500 installation and administration problem

Hi I'm completely new in solaris,and don't know many about it. I was installed solaris 10 on sun blade 1500,and also I need to install oracle on it. Now I stuck on some thing and i'm sure that you help me. When i started Oracle installation system told me that I don't have enogh swap space.... (1 Reply)
Discussion started by: dirtyjack
1 Replies

3. Solaris

Configuring interface in zone

Hi All, Please help me in configuring interface in zone I've zone with dedicated interface and I want this interface to get up with global system boot. I am struggling with IP, as always after reboot interface is not getting up automatically and I understand the reason for that.... (10 Replies)
Discussion started by: kumarmani
10 Replies

4. Solaris

Compile PHP 5.3.6 with MySql on Sun Blade 1500 Solaris 10

Hello, I'm trying to compile PHP 5.3.6 with Apache2 and MySql 5.5.12. I hit a problem that I can't seem to resolve by myself and I could not find a solution on the web. It looks like Apache and MySql installed ok, I can start/stop them with no problem. When I try to compile PHP the... (4 Replies)
Discussion started by: pn8830
4 Replies

5. Solaris

Sun Blade 150 not a Sun?

I have recently re-installed Solaris 10 on a Sun Blade 150 followed by a patch set (10_Recommended) dated 2011.12.05. I have just noticed /bin/sun now returns false, rather than true. See below. $ uname -a SunOS myblade1 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Blade-100 $ /bin/sparc &&... (1 Reply)
Discussion started by: apmcd47
1 Replies

6. Solaris

help installing solaris 10 on sun blade 1500

Hi everyone can someone please explain to me how to install solaris 10 on a sunblade 1500 using cdrom? Thanks for your assistance (1 Reply)
Discussion started by: cjashu
1 Replies

7. Solaris

Sun blade 1500 bad magic number

Good afternoon all, First, sorry for my English, this is not my first language but I try my best :). So, here we go. A friend of mine gave me an old Sun Blade 1500 he wasn't using. He said it was working fine except for the missing hard drive. I had in my IT personnal box an old IDE... (33 Replies)
Discussion started by: firstpost
33 Replies

8. UNIX for Dummies Questions & Answers

SUN BLADE T6340 - which OS ?

Hi, I have server SUN BLADE T6340 and i tried install debian sparc on this machine. Will it work ? In the specification is written only Solaris 10. (4 Replies)
Discussion started by: PtaQ
4 Replies

9. UNIX Benchmarks

Blade 1500 Silver

CPU/Speed: UltraSPARC-IIIi/1.5Ghz Ram: 1GB Motherboard: Sparc Bus: PCI Cache: Controller: Disk: ATA Load: 1 user Kernel: SunOS 5.10 Generic_137111-02 Kernel ELF?: yes pgms: gcc 2.95.3 compiled BYTE UNIX Benchmarks (Version 3.11) System -- SunOS aachen95 5.10... (0 Replies)
Discussion started by: MadeInGermany
0 Replies

10. Solaris

Using larger than 120GB drives on a Blade 1500

Hi, I'm using Solaris 8 on a Blade 1500. I know that IDE drives are limited to around 120GB, but I was told that it's possible to use larger drives with the only caveat that the available size will be that 120 (or is it 128?) GB size. But when I try, format shows only very low sizes, like... (2 Replies)
Discussion started by: BobSol8
2 Replies
IFCONFIG.IF(5)						      BSD File Formats Manual						    IFCONFIG.IF(5)

NAME
ifconfig.if -- interface-specific configuration files or variables DESCRIPTION
The ifconfig.if files or variables contain information regarding the configuration of each network interface. ifconfig.if is processed by /etc/rc.d/network at system boot time. For each interface (nnX) that is to be configured, there should be either an ifconfig_nnX variable in rc.conf(5), or an /etc/ifconfig.nnX file (such as the ifconfig_fxp0 variable or the /etc/ifconfig.fxp0 file for the fxp0 interface). Only characters allowed in sh(1) variables names should be used for nnX (ascii(7) uppercase and lowercase letters, digits, and underscore). The variable or file will get evaluated only if the interface exists on the system. Multiple lines can be placed in a variable or file, and will be evaluated sequentially. In the case of a variable, semicolons may be used instead of newlines, as described in rc.conf(5). <backslash><newline> sequences in files are ignored, so long logical lines may be made up of several shorter physical lines. Normally, a line will be evaluated as command line arguments to ifconfig(8). ``ifconfig nnX'' will be prepended on evaluation. Arguments with embedded shell metacharacters should be quoted in sh(1) style. If the line is equal to ``dhcp'', dhcpcd(8) will be started for the interface. However, it is instead recommended that dhcpcd is set to true in rc.conf(5) and any per interface configuration or restriction is done in dhcpcd.conf(5). If a line is empty, or starts with '#', the line will be ignored as comment. If a line starts with '!', the rest of line will get evaluated as shell script fragment. Shell variables declared in /etc/rc.d/network are accessible but may not be modified. The most useful variable is $int, as it will be bound to the interface being configured with the file. For example, the following illustrates static interface configuration: # IPv4, with an alias inet 10.0.1.12 netmask 255.255.255.0 media 100baseTX inet 10.0.1.13 netmask 255.255.255.255 alias # let us have IPv6 address on this interface inet6 2001:db8::1 prefixlen 64 alias # have subnet router anycast address too inet6 2001:db8:: prefixlen 64 alias anycast The following illustrates dynamic configuration setup with dhclient(8) and rtsol(8): up # autoconfigure IPv4 address !dhclient $int # autoconfigure IPv6 address. Be sure to set $ip6mode to autohost. !rtsol $int The following example sets a network name for a wireless interface (using quotes to protect special characters in the name), and starts dhcpcd(8): ssid 'my network' dhcp The following example is for dynamically-created pseudo interfaces like gif(4). Earlier versions of /etc/rc.d/network required an explicit 'create' command for such interfaces, but creation is now handled automatically. up # configure IPv6 default route toward the interface !route add -inet6 default ::1 !route change -inet6 default -ifp $int FILES
/etc/rc.d/network SEE ALSO
rc.conf(5), ifconfig(8) BSD
April 7, 2011 BSD
All times are GMT -4. The time now is 09:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy