Today morning I attended an interview, they had showed me the attached image and had few questions about that.
The image shows a network with 4 nodes viz.. A B C & D and two switches(layer2) and a router(layer3). Just wanted to know can node A and node D would be on same network e.g 10.10/16?
I have some basic doubts. Can someone clarify in this forum?
1)if
then
eval ' tset -s -Q -m ':?hp' '
else
eval ' tset -s -Q '
what does it exactly mean in .profile?
2) what are 'nobody' and 'noaccess' usernames in /etc/passwd file.
... (3 Replies)
Here are some really stupid questions, but I'm not really sure what I'm doing, so any help will be appreciated. I'm trying to learn linux and basic networking. I have 2 computers: one has windows and the other I just installed Red Hat 7.1. In the network configuration screen of the Red Hat... (10 Replies)
Hey, I'm new to Linux. I have a few questions about it. I run Slackware.
After the installation the Linux installation had problems with my old hardware (network card, sound card) so I removed them and Linux would start.
But now, I can't seem to use the network card in Linux because it's not... (3 Replies)
Whats up All!
Im fairly new to unix and i have a question. I was looking at my ifconfig -a on my server and my prompt, which was just my hostname, sudenly changed to one of my network interfaces(ge0). Does anyone know how to change that back? Also when i type in the hostname command it spits out... (4 Replies)
I have a SunOS 5.8 box and have always downloaded & applied patches via my PC, but I want to be able to go out to sunsolve directly from the console ... however, I guess it doesn't know the IP of our domain's DNS server or something.
Where are these setting held on a Sun box??? (1 Reply)
Hello all. Let me start off by saying I know a little more then it seems by me asking this question... here goes
I have an old 486 box and I want to start messing around with unix. I've been taking classes for 3 or 4 years in c programming in unix, so I am used to the commands and such, but I... (1 Reply)
Could someone tell me the command to find out the OS version which will give 12 character not the 9 characters(which is usually machine id).
uname -i gives machine id and uname -a is more comprehensive way to look.
Thanks! (4 Replies)
I am running Ubuntu Desktop and Ubuntu Server editions on two separate VMs.
For the desktop I have set network adapters:
Adapter 1: internal network called intnet
Adapter 2: NAT
Server:
Adapter 1: internal network called intnet
Now I'm suppose to set ip addresses which I'm pretty sure... (5 Replies)
I have 2 linux hosts running oracle RAC DB with multiple ethernet interfaces .
Host 1
netstat -tln |grep 6000
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 :::6000 :::* ... (1 Reply)
Discussion started by: gubbu
1 Replies
LEARN ABOUT OPENSOLARIS
ng_sppp
NG_SPPP(4) BSD Kernel Interfaces Manual NG_SPPP(4)NAME
ng_sppp -- sppp netgraph node type
SYNOPSIS
#include <netgraph/ng_sppp.h>
DESCRIPTION
An sppp node is a netgraph(4) interface to the original sppp(4) network module for synchronous lines. Currently, sppp(4) supports PPP and
Cisco HDLC protocols. An sppp node could be considered as an alternative kernel mode PPP implementation to net/mpd port + ng_ppp(4), and as
an alternative to ng_cisco(4) node. While having less features than net/mpd + ng_ppp(4), it is significantly easier to use in the majority
of simple configurations, and allows the administrator to not install the net/mpd port. With sppp you do not need any other nodes, not even
an ng_iface(4) node. When an sppp node is created, a new interface appears which is accessible via ifconfig(8). Network interfaces corre-
sponding to sppp nodes are named sppp0, sppp1, etc. When a node is shut down, the corresponding interface is removed, and the interface name
becomes available for reuse by future sppp nodes. New nodes always take the first unused interface. The node itself is assigned the same
name as its interface, unless the name already exists, in which case the node remains unnamed. The sppp node allows drivers written to the
old sppp(4) interface to be rewritten using the newer more powerful netgraph(4) interface, and still behave in a compatible manner without
supporting both network modules.
An sppp node has a single hook named downstream. Usually it is connected directly to a device driver hook.
The sppp nodes support the Berkeley Packet Filter, bpf(4).
HOOKS
This node type supports the following hooks:
downstream The connection to the synchronous line.
CONTROL MESSAGES
This node type supports the generic control messages, plus the following:
NGM_IFACE_GET_IFNAME
Returns the name of the associated interface as a NUL-terminated ASCII string. Normally this is the same as the name of the node.
SHUTDOWN
This node shuts down upon receipt of a NGM_SHUTDOWN control message. The associated interface is removed and becomes available for use by
future sppp nodes.
Unlike most other node types and like ng_iface(4) does, an sppp node does not go away when all hooks have been disconnected; rather, an
explicit NGM_SHUTDOWN control message is required.
EXAMPLES
For example, if you have the cx(4) device, you could run PPP over it with just one command:
ngctl mkpeer cx0: sppp rawdata downstream
Now you have the sppp0 interface (if this was the first sppp node) which can be accessed via ifconfig(8) as a normal network interface, or
via spppcontrol(8) as an sppp(4) interface.
SEE ALSO bpf(4), cx(4), netgraph(4), ng_cisco(4), ng_iface(4), ng_ppp(4), sppp(4), ifconfig(8), ngctl(8), spppcontrol(8)
For complex networking topologies you may want to look at net/mpd port.
HISTORY
The sppp node type was implemented for FreeBSD 5.0. It was included to the system since FreeBSD 5.3.
AUTHORS
Copyright (C) 2003-2004 Roman Kurakin <rik@cronyx.ru>.
BSD February 3, 2005 BSD